aws-sdk-guardduty 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/lib/aws-sdk-guardduty.rb +47 -0
- data/lib/aws-sdk-guardduty/client.rb +1578 -0
- data/lib/aws-sdk-guardduty/client_api.rb +1117 -0
- data/lib/aws-sdk-guardduty/customizations.rb +0 -0
- data/lib/aws-sdk-guardduty/errors.rb +14 -0
- data/lib/aws-sdk-guardduty/resource.rb +23 -0
- data/lib/aws-sdk-guardduty/types.rb +2490 -0
- metadata +82 -0
@@ -0,0 +1,1117 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws::GuardDuty
|
9
|
+
# @api private
|
10
|
+
module ClientApi
|
11
|
+
|
12
|
+
include Seahorse::Model
|
13
|
+
|
14
|
+
AcceptInvitationRequest = Shapes::StructureShape.new(name: 'AcceptInvitationRequest')
|
15
|
+
AcceptInvitationResponse = Shapes::StructureShape.new(name: 'AcceptInvitationResponse')
|
16
|
+
AccountDetail = Shapes::StructureShape.new(name: 'AccountDetail')
|
17
|
+
AccountDetails = Shapes::ListShape.new(name: 'AccountDetails')
|
18
|
+
AccountId = Shapes::StringShape.new(name: 'AccountId')
|
19
|
+
AccountIds = Shapes::ListShape.new(name: 'AccountIds')
|
20
|
+
Action = Shapes::StructureShape.new(name: 'Action')
|
21
|
+
Activate = Shapes::BooleanShape.new(name: 'Activate')
|
22
|
+
ArchiveFindingsRequest = Shapes::StructureShape.new(name: 'ArchiveFindingsRequest')
|
23
|
+
ArchiveFindingsResponse = Shapes::StructureShape.new(name: 'ArchiveFindingsResponse')
|
24
|
+
AwsApiCallAction = Shapes::StructureShape.new(name: 'AwsApiCallAction')
|
25
|
+
BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
|
26
|
+
City = Shapes::StructureShape.new(name: 'City')
|
27
|
+
Comments = Shapes::StringShape.new(name: 'Comments')
|
28
|
+
Condition = Shapes::StructureShape.new(name: 'Condition')
|
29
|
+
CountBySeverityFindingStatistic = Shapes::IntegerShape.new(name: 'CountBySeverityFindingStatistic')
|
30
|
+
Country = Shapes::StructureShape.new(name: 'Country')
|
31
|
+
CreateDetectorRequest = Shapes::StructureShape.new(name: 'CreateDetectorRequest')
|
32
|
+
CreateDetectorResponse = Shapes::StructureShape.new(name: 'CreateDetectorResponse')
|
33
|
+
CreateIPSetRequest = Shapes::StructureShape.new(name: 'CreateIPSetRequest')
|
34
|
+
CreateIPSetResponse = Shapes::StructureShape.new(name: 'CreateIPSetResponse')
|
35
|
+
CreateMembersRequest = Shapes::StructureShape.new(name: 'CreateMembersRequest')
|
36
|
+
CreateMembersResponse = Shapes::StructureShape.new(name: 'CreateMembersResponse')
|
37
|
+
CreateSampleFindingsRequest = Shapes::StructureShape.new(name: 'CreateSampleFindingsRequest')
|
38
|
+
CreateSampleFindingsResponse = Shapes::StructureShape.new(name: 'CreateSampleFindingsResponse')
|
39
|
+
CreateThreatIntelSetRequest = Shapes::StructureShape.new(name: 'CreateThreatIntelSetRequest')
|
40
|
+
CreateThreatIntelSetResponse = Shapes::StructureShape.new(name: 'CreateThreatIntelSetResponse')
|
41
|
+
CreatedAt = Shapes::StringShape.new(name: 'CreatedAt')
|
42
|
+
DeclineInvitationsRequest = Shapes::StructureShape.new(name: 'DeclineInvitationsRequest')
|
43
|
+
DeclineInvitationsResponse = Shapes::StructureShape.new(name: 'DeclineInvitationsResponse')
|
44
|
+
DeleteDetectorRequest = Shapes::StructureShape.new(name: 'DeleteDetectorRequest')
|
45
|
+
DeleteDetectorResponse = Shapes::StructureShape.new(name: 'DeleteDetectorResponse')
|
46
|
+
DeleteIPSetRequest = Shapes::StructureShape.new(name: 'DeleteIPSetRequest')
|
47
|
+
DeleteIPSetResponse = Shapes::StructureShape.new(name: 'DeleteIPSetResponse')
|
48
|
+
DeleteInvitationsRequest = Shapes::StructureShape.new(name: 'DeleteInvitationsRequest')
|
49
|
+
DeleteInvitationsResponse = Shapes::StructureShape.new(name: 'DeleteInvitationsResponse')
|
50
|
+
DeleteMembersRequest = Shapes::StructureShape.new(name: 'DeleteMembersRequest')
|
51
|
+
DeleteMembersResponse = Shapes::StructureShape.new(name: 'DeleteMembersResponse')
|
52
|
+
DeleteThreatIntelSetRequest = Shapes::StructureShape.new(name: 'DeleteThreatIntelSetRequest')
|
53
|
+
DeleteThreatIntelSetResponse = Shapes::StructureShape.new(name: 'DeleteThreatIntelSetResponse')
|
54
|
+
DetectorId = Shapes::StringShape.new(name: 'DetectorId')
|
55
|
+
DetectorIds = Shapes::ListShape.new(name: 'DetectorIds')
|
56
|
+
DetectorStatus = Shapes::StringShape.new(name: 'DetectorStatus')
|
57
|
+
DisassociateFromMasterAccountRequest = Shapes::StructureShape.new(name: 'DisassociateFromMasterAccountRequest')
|
58
|
+
DisassociateFromMasterAccountResponse = Shapes::StructureShape.new(name: 'DisassociateFromMasterAccountResponse')
|
59
|
+
DisassociateMembersRequest = Shapes::StructureShape.new(name: 'DisassociateMembersRequest')
|
60
|
+
DisassociateMembersResponse = Shapes::StructureShape.new(name: 'DisassociateMembersResponse')
|
61
|
+
DnsRequestAction = Shapes::StructureShape.new(name: 'DnsRequestAction')
|
62
|
+
Domain = Shapes::StringShape.new(name: 'Domain')
|
63
|
+
DomainDetails = Shapes::StructureShape.new(name: 'DomainDetails')
|
64
|
+
Email = Shapes::StringShape.new(name: 'Email')
|
65
|
+
Enable = Shapes::BooleanShape.new(name: 'Enable')
|
66
|
+
Eq = Shapes::ListShape.new(name: 'Eq')
|
67
|
+
ErrorResponse = Shapes::StructureShape.new(name: 'ErrorResponse')
|
68
|
+
Feedback = Shapes::StringShape.new(name: 'Feedback')
|
69
|
+
Finding = Shapes::StructureShape.new(name: 'Finding')
|
70
|
+
FindingCriteria = Shapes::StructureShape.new(name: 'FindingCriteria')
|
71
|
+
FindingId = Shapes::StringShape.new(name: 'FindingId')
|
72
|
+
FindingIds = Shapes::ListShape.new(name: 'FindingIds')
|
73
|
+
FindingStatisticType = Shapes::StringShape.new(name: 'FindingStatisticType')
|
74
|
+
FindingStatisticTypes = Shapes::ListShape.new(name: 'FindingStatisticTypes')
|
75
|
+
FindingStatistics = Shapes::StructureShape.new(name: 'FindingStatistics')
|
76
|
+
FindingType = Shapes::StringShape.new(name: 'FindingType')
|
77
|
+
FindingTypes = Shapes::ListShape.new(name: 'FindingTypes')
|
78
|
+
Findings = Shapes::ListShape.new(name: 'Findings')
|
79
|
+
GeoLocation = Shapes::StructureShape.new(name: 'GeoLocation')
|
80
|
+
GetDetectorRequest = Shapes::StructureShape.new(name: 'GetDetectorRequest')
|
81
|
+
GetDetectorResponse = Shapes::StructureShape.new(name: 'GetDetectorResponse')
|
82
|
+
GetFindingsRequest = Shapes::StructureShape.new(name: 'GetFindingsRequest')
|
83
|
+
GetFindingsResponse = Shapes::StructureShape.new(name: 'GetFindingsResponse')
|
84
|
+
GetFindingsStatisticsRequest = Shapes::StructureShape.new(name: 'GetFindingsStatisticsRequest')
|
85
|
+
GetFindingsStatisticsResponse = Shapes::StructureShape.new(name: 'GetFindingsStatisticsResponse')
|
86
|
+
GetIPSetRequest = Shapes::StructureShape.new(name: 'GetIPSetRequest')
|
87
|
+
GetIPSetResponse = Shapes::StructureShape.new(name: 'GetIPSetResponse')
|
88
|
+
GetInvitationsCountRequest = Shapes::StructureShape.new(name: 'GetInvitationsCountRequest')
|
89
|
+
GetInvitationsCountResponse = Shapes::StructureShape.new(name: 'GetInvitationsCountResponse')
|
90
|
+
GetMasterAccountRequest = Shapes::StructureShape.new(name: 'GetMasterAccountRequest')
|
91
|
+
GetMasterAccountResponse = Shapes::StructureShape.new(name: 'GetMasterAccountResponse')
|
92
|
+
GetMembersRequest = Shapes::StructureShape.new(name: 'GetMembersRequest')
|
93
|
+
GetMembersResponse = Shapes::StructureShape.new(name: 'GetMembersResponse')
|
94
|
+
GetThreatIntelSetRequest = Shapes::StructureShape.new(name: 'GetThreatIntelSetRequest')
|
95
|
+
GetThreatIntelSetResponse = Shapes::StructureShape.new(name: 'GetThreatIntelSetResponse')
|
96
|
+
IamInstanceProfile = Shapes::StructureShape.new(name: 'IamInstanceProfile')
|
97
|
+
InstanceDetails = Shapes::StructureShape.new(name: 'InstanceDetails')
|
98
|
+
InternalServerErrorException = Shapes::StructureShape.new(name: 'InternalServerErrorException')
|
99
|
+
Invitation = Shapes::StructureShape.new(name: 'Invitation')
|
100
|
+
InvitationId = Shapes::StringShape.new(name: 'InvitationId')
|
101
|
+
Invitations = Shapes::ListShape.new(name: 'Invitations')
|
102
|
+
InviteMembersRequest = Shapes::StructureShape.new(name: 'InviteMembersRequest')
|
103
|
+
InviteMembersResponse = Shapes::StructureShape.new(name: 'InviteMembersResponse')
|
104
|
+
InvitedAt = Shapes::StringShape.new(name: 'InvitedAt')
|
105
|
+
IpSetFormat = Shapes::StringShape.new(name: 'IpSetFormat')
|
106
|
+
IpSetId = Shapes::StringShape.new(name: 'IpSetId')
|
107
|
+
IpSetIds = Shapes::ListShape.new(name: 'IpSetIds')
|
108
|
+
IpSetStatus = Shapes::StringShape.new(name: 'IpSetStatus')
|
109
|
+
Ipv6Address = Shapes::StringShape.new(name: 'Ipv6Address')
|
110
|
+
Ipv6Addresses = Shapes::ListShape.new(name: 'Ipv6Addresses')
|
111
|
+
ListDetectorsRequest = Shapes::StructureShape.new(name: 'ListDetectorsRequest')
|
112
|
+
ListDetectorsResponse = Shapes::StructureShape.new(name: 'ListDetectorsResponse')
|
113
|
+
ListFindingsRequest = Shapes::StructureShape.new(name: 'ListFindingsRequest')
|
114
|
+
ListFindingsResponse = Shapes::StructureShape.new(name: 'ListFindingsResponse')
|
115
|
+
ListIPSetsRequest = Shapes::StructureShape.new(name: 'ListIPSetsRequest')
|
116
|
+
ListIPSetsResponse = Shapes::StructureShape.new(name: 'ListIPSetsResponse')
|
117
|
+
ListInvitationsRequest = Shapes::StructureShape.new(name: 'ListInvitationsRequest')
|
118
|
+
ListInvitationsResponse = Shapes::StructureShape.new(name: 'ListInvitationsResponse')
|
119
|
+
ListMembersRequest = Shapes::StructureShape.new(name: 'ListMembersRequest')
|
120
|
+
ListMembersResponse = Shapes::StructureShape.new(name: 'ListMembersResponse')
|
121
|
+
ListThreatIntelSetsRequest = Shapes::StructureShape.new(name: 'ListThreatIntelSetsRequest')
|
122
|
+
ListThreatIntelSetsResponse = Shapes::StructureShape.new(name: 'ListThreatIntelSetsResponse')
|
123
|
+
LocalPortDetails = Shapes::StructureShape.new(name: 'LocalPortDetails')
|
124
|
+
Location = Shapes::StringShape.new(name: 'Location')
|
125
|
+
MapOfCondition = Shapes::MapShape.new(name: 'MapOfCondition')
|
126
|
+
MapOfCountBySeverityFindingStatistic = Shapes::MapShape.new(name: 'MapOfCountBySeverityFindingStatistic')
|
127
|
+
Master = Shapes::StructureShape.new(name: 'Master')
|
128
|
+
MasterId = Shapes::StringShape.new(name: 'MasterId')
|
129
|
+
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
130
|
+
Member = Shapes::StructureShape.new(name: 'Member')
|
131
|
+
Members = Shapes::ListShape.new(name: 'Members')
|
132
|
+
Message = Shapes::StringShape.new(name: 'Message')
|
133
|
+
Name = Shapes::StringShape.new(name: 'Name')
|
134
|
+
Neq = Shapes::ListShape.new(name: 'Neq')
|
135
|
+
NetworkConnectionAction = Shapes::StructureShape.new(name: 'NetworkConnectionAction')
|
136
|
+
NetworkInterface = Shapes::StructureShape.new(name: 'NetworkInterface')
|
137
|
+
NetworkInterfaces = Shapes::ListShape.new(name: 'NetworkInterfaces')
|
138
|
+
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
139
|
+
OrderBy = Shapes::StringShape.new(name: 'OrderBy')
|
140
|
+
Organization = Shapes::StructureShape.new(name: 'Organization')
|
141
|
+
PrivateDnsName = Shapes::StringShape.new(name: 'PrivateDnsName')
|
142
|
+
PrivateIpAddress = Shapes::StringShape.new(name: 'PrivateIpAddress')
|
143
|
+
PrivateIpAddressDetails = Shapes::StructureShape.new(name: 'PrivateIpAddressDetails')
|
144
|
+
PrivateIpAddresses = Shapes::ListShape.new(name: 'PrivateIpAddresses')
|
145
|
+
ProductCode = Shapes::StructureShape.new(name: 'ProductCode')
|
146
|
+
ProductCodes = Shapes::ListShape.new(name: 'ProductCodes')
|
147
|
+
RemoteIpDetails = Shapes::StructureShape.new(name: 'RemoteIpDetails')
|
148
|
+
RemotePortDetails = Shapes::StructureShape.new(name: 'RemotePortDetails')
|
149
|
+
Resource = Shapes::StructureShape.new(name: 'Resource')
|
150
|
+
SecurityGroup = Shapes::StructureShape.new(name: 'SecurityGroup')
|
151
|
+
SecurityGroups = Shapes::ListShape.new(name: 'SecurityGroups')
|
152
|
+
Service = Shapes::StructureShape.new(name: 'Service')
|
153
|
+
ServiceRole = Shapes::StringShape.new(name: 'ServiceRole')
|
154
|
+
SortCriteria = Shapes::StructureShape.new(name: 'SortCriteria')
|
155
|
+
StartMonitoringMembersRequest = Shapes::StructureShape.new(name: 'StartMonitoringMembersRequest')
|
156
|
+
StartMonitoringMembersResponse = Shapes::StructureShape.new(name: 'StartMonitoringMembersResponse')
|
157
|
+
StopMonitoringMembersRequest = Shapes::StructureShape.new(name: 'StopMonitoringMembersRequest')
|
158
|
+
StopMonitoringMembersResponse = Shapes::StructureShape.new(name: 'StopMonitoringMembersResponse')
|
159
|
+
Tag = Shapes::StructureShape.new(name: 'Tag')
|
160
|
+
Tags = Shapes::ListShape.new(name: 'Tags')
|
161
|
+
ThreatIntelSetFormat = Shapes::StringShape.new(name: 'ThreatIntelSetFormat')
|
162
|
+
ThreatIntelSetId = Shapes::StringShape.new(name: 'ThreatIntelSetId')
|
163
|
+
ThreatIntelSetIds = Shapes::ListShape.new(name: 'ThreatIntelSetIds')
|
164
|
+
ThreatIntelSetStatus = Shapes::StringShape.new(name: 'ThreatIntelSetStatus')
|
165
|
+
UnarchiveFindingsRequest = Shapes::StructureShape.new(name: 'UnarchiveFindingsRequest')
|
166
|
+
UnarchiveFindingsResponse = Shapes::StructureShape.new(name: 'UnarchiveFindingsResponse')
|
167
|
+
UnprocessedAccount = Shapes::StructureShape.new(name: 'UnprocessedAccount')
|
168
|
+
UnprocessedAccounts = Shapes::ListShape.new(name: 'UnprocessedAccounts')
|
169
|
+
UpdateDetectorRequest = Shapes::StructureShape.new(name: 'UpdateDetectorRequest')
|
170
|
+
UpdateDetectorResponse = Shapes::StructureShape.new(name: 'UpdateDetectorResponse')
|
171
|
+
UpdateFindingsFeedbackRequest = Shapes::StructureShape.new(name: 'UpdateFindingsFeedbackRequest')
|
172
|
+
UpdateFindingsFeedbackResponse = Shapes::StructureShape.new(name: 'UpdateFindingsFeedbackResponse')
|
173
|
+
UpdateIPSetRequest = Shapes::StructureShape.new(name: 'UpdateIPSetRequest')
|
174
|
+
UpdateIPSetResponse = Shapes::StructureShape.new(name: 'UpdateIPSetResponse')
|
175
|
+
UpdateThreatIntelSetRequest = Shapes::StructureShape.new(name: 'UpdateThreatIntelSetRequest')
|
176
|
+
UpdateThreatIntelSetResponse = Shapes::StructureShape.new(name: 'UpdateThreatIntelSetResponse')
|
177
|
+
UpdatedAt = Shapes::StringShape.new(name: 'UpdatedAt')
|
178
|
+
__boolean = Shapes::BooleanShape.new(name: '__boolean')
|
179
|
+
__double = Shapes::FloatShape.new(name: '__double')
|
180
|
+
__integer = Shapes::IntegerShape.new(name: '__integer')
|
181
|
+
__string = Shapes::StringShape.new(name: '__string')
|
182
|
+
__timestamp = Shapes::TimestampShape.new(name: '__timestamp')
|
183
|
+
|
184
|
+
AcceptInvitationRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "detectorId"))
|
185
|
+
AcceptInvitationRequest.add_member(:invitation_id, Shapes::ShapeRef.new(shape: InvitationId, location_name: "invitationId"))
|
186
|
+
AcceptInvitationRequest.add_member(:master_id, Shapes::ShapeRef.new(shape: MasterId, location_name: "masterId"))
|
187
|
+
AcceptInvitationRequest.struct_class = Types::AcceptInvitationRequest
|
188
|
+
|
189
|
+
AcceptInvitationResponse.struct_class = Types::AcceptInvitationResponse
|
190
|
+
|
191
|
+
AccountDetail.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId"))
|
192
|
+
AccountDetail.add_member(:email, Shapes::ShapeRef.new(shape: Email, location_name: "email"))
|
193
|
+
AccountDetail.struct_class = Types::AccountDetail
|
194
|
+
|
195
|
+
AccountDetails.member = Shapes::ShapeRef.new(shape: AccountDetail)
|
196
|
+
|
197
|
+
AccountIds.member = Shapes::ShapeRef.new(shape: __string)
|
198
|
+
|
199
|
+
Action.add_member(:action_type, Shapes::ShapeRef.new(shape: __string, location_name: "actionType"))
|
200
|
+
Action.add_member(:aws_api_call_action, Shapes::ShapeRef.new(shape: AwsApiCallAction, location_name: "awsApiCallAction"))
|
201
|
+
Action.add_member(:dns_request_action, Shapes::ShapeRef.new(shape: DnsRequestAction, location_name: "dnsRequestAction"))
|
202
|
+
Action.add_member(:network_connection_action, Shapes::ShapeRef.new(shape: NetworkConnectionAction, location_name: "networkConnectionAction"))
|
203
|
+
Action.struct_class = Types::Action
|
204
|
+
|
205
|
+
ArchiveFindingsRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "detectorId"))
|
206
|
+
ArchiveFindingsRequest.add_member(:finding_ids, Shapes::ShapeRef.new(shape: FindingIds, location_name: "findingIds"))
|
207
|
+
ArchiveFindingsRequest.struct_class = Types::ArchiveFindingsRequest
|
208
|
+
|
209
|
+
ArchiveFindingsResponse.struct_class = Types::ArchiveFindingsResponse
|
210
|
+
|
211
|
+
AwsApiCallAction.add_member(:api, Shapes::ShapeRef.new(shape: __string, location_name: "api"))
|
212
|
+
AwsApiCallAction.add_member(:caller_type, Shapes::ShapeRef.new(shape: __string, location_name: "callerType"))
|
213
|
+
AwsApiCallAction.add_member(:domain_details, Shapes::ShapeRef.new(shape: DomainDetails, location_name: "domainDetails"))
|
214
|
+
AwsApiCallAction.add_member(:remote_ip_details, Shapes::ShapeRef.new(shape: RemoteIpDetails, location_name: "remoteIpDetails"))
|
215
|
+
AwsApiCallAction.add_member(:service_name, Shapes::ShapeRef.new(shape: __string, location_name: "serviceName"))
|
216
|
+
AwsApiCallAction.struct_class = Types::AwsApiCallAction
|
217
|
+
|
218
|
+
City.add_member(:city_name, Shapes::ShapeRef.new(shape: __string, location_name: "cityName"))
|
219
|
+
City.struct_class = Types::City
|
220
|
+
|
221
|
+
Condition.add_member(:eq, Shapes::ShapeRef.new(shape: Eq, location_name: "eq"))
|
222
|
+
Condition.add_member(:gt, Shapes::ShapeRef.new(shape: __integer, location_name: "gt"))
|
223
|
+
Condition.add_member(:gte, Shapes::ShapeRef.new(shape: __integer, location_name: "gte"))
|
224
|
+
Condition.add_member(:lt, Shapes::ShapeRef.new(shape: __integer, location_name: "lt"))
|
225
|
+
Condition.add_member(:lte, Shapes::ShapeRef.new(shape: __integer, location_name: "lte"))
|
226
|
+
Condition.add_member(:neq, Shapes::ShapeRef.new(shape: Neq, location_name: "neq"))
|
227
|
+
Condition.struct_class = Types::Condition
|
228
|
+
|
229
|
+
Country.add_member(:country_code, Shapes::ShapeRef.new(shape: __string, location_name: "countryCode"))
|
230
|
+
Country.add_member(:country_name, Shapes::ShapeRef.new(shape: __string, location_name: "countryName"))
|
231
|
+
Country.struct_class = Types::Country
|
232
|
+
|
233
|
+
CreateDetectorRequest.add_member(:enable, Shapes::ShapeRef.new(shape: Enable, location_name: "enable"))
|
234
|
+
CreateDetectorRequest.struct_class = Types::CreateDetectorRequest
|
235
|
+
|
236
|
+
CreateDetectorResponse.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, location_name: "detectorId"))
|
237
|
+
CreateDetectorResponse.struct_class = Types::CreateDetectorResponse
|
238
|
+
|
239
|
+
CreateIPSetRequest.add_member(:activate, Shapes::ShapeRef.new(shape: Activate, location_name: "activate"))
|
240
|
+
CreateIPSetRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "detectorId"))
|
241
|
+
CreateIPSetRequest.add_member(:format, Shapes::ShapeRef.new(shape: IpSetFormat, location_name: "format"))
|
242
|
+
CreateIPSetRequest.add_member(:location, Shapes::ShapeRef.new(shape: Location, location_name: "location"))
|
243
|
+
CreateIPSetRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
|
244
|
+
CreateIPSetRequest.struct_class = Types::CreateIPSetRequest
|
245
|
+
|
246
|
+
CreateIPSetResponse.add_member(:ip_set_id, Shapes::ShapeRef.new(shape: IpSetId, location_name: "ipSetId"))
|
247
|
+
CreateIPSetResponse.struct_class = Types::CreateIPSetResponse
|
248
|
+
|
249
|
+
CreateMembersRequest.add_member(:account_details, Shapes::ShapeRef.new(shape: AccountDetails, location_name: "accountDetails"))
|
250
|
+
CreateMembersRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "detectorId"))
|
251
|
+
CreateMembersRequest.struct_class = Types::CreateMembersRequest
|
252
|
+
|
253
|
+
CreateMembersResponse.add_member(:unprocessed_accounts, Shapes::ShapeRef.new(shape: UnprocessedAccounts, location_name: "unprocessedAccounts"))
|
254
|
+
CreateMembersResponse.struct_class = Types::CreateMembersResponse
|
255
|
+
|
256
|
+
CreateSampleFindingsRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "detectorId"))
|
257
|
+
CreateSampleFindingsRequest.add_member(:finding_types, Shapes::ShapeRef.new(shape: FindingTypes, location_name: "findingTypes"))
|
258
|
+
CreateSampleFindingsRequest.struct_class = Types::CreateSampleFindingsRequest
|
259
|
+
|
260
|
+
CreateSampleFindingsResponse.struct_class = Types::CreateSampleFindingsResponse
|
261
|
+
|
262
|
+
CreateThreatIntelSetRequest.add_member(:activate, Shapes::ShapeRef.new(shape: Activate, location_name: "activate"))
|
263
|
+
CreateThreatIntelSetRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "detectorId"))
|
264
|
+
CreateThreatIntelSetRequest.add_member(:format, Shapes::ShapeRef.new(shape: ThreatIntelSetFormat, location_name: "format"))
|
265
|
+
CreateThreatIntelSetRequest.add_member(:location, Shapes::ShapeRef.new(shape: Location, location_name: "location"))
|
266
|
+
CreateThreatIntelSetRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
|
267
|
+
CreateThreatIntelSetRequest.struct_class = Types::CreateThreatIntelSetRequest
|
268
|
+
|
269
|
+
CreateThreatIntelSetResponse.add_member(:threat_intel_set_id, Shapes::ShapeRef.new(shape: ThreatIntelSetId, location_name: "threatIntelSetId"))
|
270
|
+
CreateThreatIntelSetResponse.struct_class = Types::CreateThreatIntelSetResponse
|
271
|
+
|
272
|
+
DeclineInvitationsRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIds, location_name: "accountIds"))
|
273
|
+
DeclineInvitationsRequest.struct_class = Types::DeclineInvitationsRequest
|
274
|
+
|
275
|
+
DeclineInvitationsResponse.add_member(:unprocessed_accounts, Shapes::ShapeRef.new(shape: UnprocessedAccounts, location_name: "unprocessedAccounts"))
|
276
|
+
DeclineInvitationsResponse.struct_class = Types::DeclineInvitationsResponse
|
277
|
+
|
278
|
+
DeleteDetectorRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "detectorId"))
|
279
|
+
DeleteDetectorRequest.struct_class = Types::DeleteDetectorRequest
|
280
|
+
|
281
|
+
DeleteDetectorResponse.struct_class = Types::DeleteDetectorResponse
|
282
|
+
|
283
|
+
DeleteIPSetRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "detectorId"))
|
284
|
+
DeleteIPSetRequest.add_member(:ip_set_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "ipSetId"))
|
285
|
+
DeleteIPSetRequest.struct_class = Types::DeleteIPSetRequest
|
286
|
+
|
287
|
+
DeleteIPSetResponse.struct_class = Types::DeleteIPSetResponse
|
288
|
+
|
289
|
+
DeleteInvitationsRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIds, location_name: "accountIds"))
|
290
|
+
DeleteInvitationsRequest.struct_class = Types::DeleteInvitationsRequest
|
291
|
+
|
292
|
+
DeleteInvitationsResponse.add_member(:unprocessed_accounts, Shapes::ShapeRef.new(shape: UnprocessedAccounts, location_name: "unprocessedAccounts"))
|
293
|
+
DeleteInvitationsResponse.struct_class = Types::DeleteInvitationsResponse
|
294
|
+
|
295
|
+
DeleteMembersRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIds, location_name: "accountIds"))
|
296
|
+
DeleteMembersRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "detectorId"))
|
297
|
+
DeleteMembersRequest.struct_class = Types::DeleteMembersRequest
|
298
|
+
|
299
|
+
DeleteMembersResponse.add_member(:unprocessed_accounts, Shapes::ShapeRef.new(shape: UnprocessedAccounts, location_name: "unprocessedAccounts"))
|
300
|
+
DeleteMembersResponse.struct_class = Types::DeleteMembersResponse
|
301
|
+
|
302
|
+
DeleteThreatIntelSetRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "detectorId"))
|
303
|
+
DeleteThreatIntelSetRequest.add_member(:threat_intel_set_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "threatIntelSetId"))
|
304
|
+
DeleteThreatIntelSetRequest.struct_class = Types::DeleteThreatIntelSetRequest
|
305
|
+
|
306
|
+
DeleteThreatIntelSetResponse.struct_class = Types::DeleteThreatIntelSetResponse
|
307
|
+
|
308
|
+
DetectorIds.member = Shapes::ShapeRef.new(shape: DetectorId)
|
309
|
+
|
310
|
+
DisassociateFromMasterAccountRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "detectorId"))
|
311
|
+
DisassociateFromMasterAccountRequest.struct_class = Types::DisassociateFromMasterAccountRequest
|
312
|
+
|
313
|
+
DisassociateFromMasterAccountResponse.struct_class = Types::DisassociateFromMasterAccountResponse
|
314
|
+
|
315
|
+
DisassociateMembersRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIds, location_name: "accountIds"))
|
316
|
+
DisassociateMembersRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "detectorId"))
|
317
|
+
DisassociateMembersRequest.struct_class = Types::DisassociateMembersRequest
|
318
|
+
|
319
|
+
DisassociateMembersResponse.add_member(:unprocessed_accounts, Shapes::ShapeRef.new(shape: UnprocessedAccounts, location_name: "unprocessedAccounts"))
|
320
|
+
DisassociateMembersResponse.struct_class = Types::DisassociateMembersResponse
|
321
|
+
|
322
|
+
DnsRequestAction.add_member(:domain, Shapes::ShapeRef.new(shape: Domain, location_name: "domain"))
|
323
|
+
DnsRequestAction.struct_class = Types::DnsRequestAction
|
324
|
+
|
325
|
+
DomainDetails.struct_class = Types::DomainDetails
|
326
|
+
|
327
|
+
Eq.member = Shapes::ShapeRef.new(shape: __string)
|
328
|
+
|
329
|
+
ErrorResponse.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
330
|
+
ErrorResponse.add_member(:type, Shapes::ShapeRef.new(shape: __string, location_name: "__type"))
|
331
|
+
ErrorResponse.struct_class = Types::ErrorResponse
|
332
|
+
|
333
|
+
Finding.add_member(:account_id, Shapes::ShapeRef.new(shape: __string, location_name: "accountId"))
|
334
|
+
Finding.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
|
335
|
+
Finding.add_member(:confidence, Shapes::ShapeRef.new(shape: __double, location_name: "confidence"))
|
336
|
+
Finding.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedAt, location_name: "createdAt"))
|
337
|
+
Finding.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
|
338
|
+
Finding.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
|
339
|
+
Finding.add_member(:partition, Shapes::ShapeRef.new(shape: __string, location_name: "partition"))
|
340
|
+
Finding.add_member(:region, Shapes::ShapeRef.new(shape: __string, location_name: "region"))
|
341
|
+
Finding.add_member(:resource, Shapes::ShapeRef.new(shape: Resource, location_name: "resource"))
|
342
|
+
Finding.add_member(:schema_version, Shapes::ShapeRef.new(shape: __string, location_name: "schemaVersion"))
|
343
|
+
Finding.add_member(:service, Shapes::ShapeRef.new(shape: Service, location_name: "service"))
|
344
|
+
Finding.add_member(:severity, Shapes::ShapeRef.new(shape: __double, location_name: "severity"))
|
345
|
+
Finding.add_member(:title, Shapes::ShapeRef.new(shape: __string, location_name: "title"))
|
346
|
+
Finding.add_member(:type, Shapes::ShapeRef.new(shape: __string, location_name: "type"))
|
347
|
+
Finding.add_member(:updated_at, Shapes::ShapeRef.new(shape: UpdatedAt, location_name: "updatedAt"))
|
348
|
+
Finding.struct_class = Types::Finding
|
349
|
+
|
350
|
+
FindingCriteria.add_member(:criterion, Shapes::ShapeRef.new(shape: MapOfCondition, location_name: "criterion"))
|
351
|
+
FindingCriteria.struct_class = Types::FindingCriteria
|
352
|
+
|
353
|
+
FindingIds.member = Shapes::ShapeRef.new(shape: FindingId)
|
354
|
+
|
355
|
+
FindingStatisticTypes.member = Shapes::ShapeRef.new(shape: FindingStatisticType)
|
356
|
+
|
357
|
+
FindingStatistics.add_member(:count_by_severity, Shapes::ShapeRef.new(shape: MapOfCountBySeverityFindingStatistic, location_name: "countBySeverity"))
|
358
|
+
FindingStatistics.struct_class = Types::FindingStatistics
|
359
|
+
|
360
|
+
FindingTypes.member = Shapes::ShapeRef.new(shape: FindingType)
|
361
|
+
|
362
|
+
Findings.member = Shapes::ShapeRef.new(shape: Finding)
|
363
|
+
|
364
|
+
GeoLocation.add_member(:lat, Shapes::ShapeRef.new(shape: __double, location_name: "lat"))
|
365
|
+
GeoLocation.add_member(:lon, Shapes::ShapeRef.new(shape: __double, location_name: "lon"))
|
366
|
+
GeoLocation.struct_class = Types::GeoLocation
|
367
|
+
|
368
|
+
GetDetectorRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "detectorId"))
|
369
|
+
GetDetectorRequest.struct_class = Types::GetDetectorRequest
|
370
|
+
|
371
|
+
GetDetectorResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedAt, location_name: "createdAt"))
|
372
|
+
GetDetectorResponse.add_member(:service_role, Shapes::ShapeRef.new(shape: ServiceRole, location_name: "serviceRole"))
|
373
|
+
GetDetectorResponse.add_member(:status, Shapes::ShapeRef.new(shape: DetectorStatus, location_name: "status"))
|
374
|
+
GetDetectorResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: UpdatedAt, location_name: "updatedAt"))
|
375
|
+
GetDetectorResponse.struct_class = Types::GetDetectorResponse
|
376
|
+
|
377
|
+
GetFindingsRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "detectorId"))
|
378
|
+
GetFindingsRequest.add_member(:finding_ids, Shapes::ShapeRef.new(shape: FindingIds, location_name: "findingIds"))
|
379
|
+
GetFindingsRequest.add_member(:sort_criteria, Shapes::ShapeRef.new(shape: SortCriteria, location_name: "sortCriteria"))
|
380
|
+
GetFindingsRequest.struct_class = Types::GetFindingsRequest
|
381
|
+
|
382
|
+
GetFindingsResponse.add_member(:findings, Shapes::ShapeRef.new(shape: Findings, location_name: "findings"))
|
383
|
+
GetFindingsResponse.struct_class = Types::GetFindingsResponse
|
384
|
+
|
385
|
+
GetFindingsStatisticsRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "detectorId"))
|
386
|
+
GetFindingsStatisticsRequest.add_member(:finding_criteria, Shapes::ShapeRef.new(shape: FindingCriteria, location_name: "findingCriteria"))
|
387
|
+
GetFindingsStatisticsRequest.add_member(:finding_statistic_types, Shapes::ShapeRef.new(shape: FindingStatisticTypes, location_name: "findingStatisticTypes"))
|
388
|
+
GetFindingsStatisticsRequest.struct_class = Types::GetFindingsStatisticsRequest
|
389
|
+
|
390
|
+
GetFindingsStatisticsResponse.add_member(:finding_statistics, Shapes::ShapeRef.new(shape: FindingStatistics, location_name: "findingStatistics"))
|
391
|
+
GetFindingsStatisticsResponse.struct_class = Types::GetFindingsStatisticsResponse
|
392
|
+
|
393
|
+
GetIPSetRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "detectorId"))
|
394
|
+
GetIPSetRequest.add_member(:ip_set_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "ipSetId"))
|
395
|
+
GetIPSetRequest.struct_class = Types::GetIPSetRequest
|
396
|
+
|
397
|
+
GetIPSetResponse.add_member(:format, Shapes::ShapeRef.new(shape: IpSetFormat, location_name: "format"))
|
398
|
+
GetIPSetResponse.add_member(:location, Shapes::ShapeRef.new(shape: Location, location_name: "location"))
|
399
|
+
GetIPSetResponse.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
|
400
|
+
GetIPSetResponse.add_member(:status, Shapes::ShapeRef.new(shape: IpSetStatus, location_name: "status"))
|
401
|
+
GetIPSetResponse.struct_class = Types::GetIPSetResponse
|
402
|
+
|
403
|
+
GetInvitationsCountRequest.struct_class = Types::GetInvitationsCountRequest
|
404
|
+
|
405
|
+
GetInvitationsCountResponse.add_member(:invitations_count, Shapes::ShapeRef.new(shape: __integer, location_name: "invitationsCount"))
|
406
|
+
GetInvitationsCountResponse.struct_class = Types::GetInvitationsCountResponse
|
407
|
+
|
408
|
+
GetMasterAccountRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "detectorId"))
|
409
|
+
GetMasterAccountRequest.struct_class = Types::GetMasterAccountRequest
|
410
|
+
|
411
|
+
GetMasterAccountResponse.add_member(:master, Shapes::ShapeRef.new(shape: Master, location_name: "master"))
|
412
|
+
GetMasterAccountResponse.struct_class = Types::GetMasterAccountResponse
|
413
|
+
|
414
|
+
GetMembersRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIds, location_name: "accountIds"))
|
415
|
+
GetMembersRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "detectorId"))
|
416
|
+
GetMembersRequest.struct_class = Types::GetMembersRequest
|
417
|
+
|
418
|
+
GetMembersResponse.add_member(:members, Shapes::ShapeRef.new(shape: Members, location_name: "members"))
|
419
|
+
GetMembersResponse.add_member(:unprocessed_accounts, Shapes::ShapeRef.new(shape: UnprocessedAccounts, location_name: "unprocessedAccounts"))
|
420
|
+
GetMembersResponse.struct_class = Types::GetMembersResponse
|
421
|
+
|
422
|
+
GetThreatIntelSetRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "detectorId"))
|
423
|
+
GetThreatIntelSetRequest.add_member(:threat_intel_set_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "threatIntelSetId"))
|
424
|
+
GetThreatIntelSetRequest.struct_class = Types::GetThreatIntelSetRequest
|
425
|
+
|
426
|
+
GetThreatIntelSetResponse.add_member(:format, Shapes::ShapeRef.new(shape: ThreatIntelSetFormat, location_name: "format"))
|
427
|
+
GetThreatIntelSetResponse.add_member(:location, Shapes::ShapeRef.new(shape: Location, location_name: "location"))
|
428
|
+
GetThreatIntelSetResponse.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
|
429
|
+
GetThreatIntelSetResponse.add_member(:status, Shapes::ShapeRef.new(shape: ThreatIntelSetStatus, location_name: "status"))
|
430
|
+
GetThreatIntelSetResponse.struct_class = Types::GetThreatIntelSetResponse
|
431
|
+
|
432
|
+
IamInstanceProfile.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
|
433
|
+
IamInstanceProfile.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
|
434
|
+
IamInstanceProfile.struct_class = Types::IamInstanceProfile
|
435
|
+
|
436
|
+
InstanceDetails.add_member(:availability_zone, Shapes::ShapeRef.new(shape: __string, location_name: "availabilityZone"))
|
437
|
+
InstanceDetails.add_member(:iam_instance_profile, Shapes::ShapeRef.new(shape: IamInstanceProfile, location_name: "iamInstanceProfile"))
|
438
|
+
InstanceDetails.add_member(:image_id, Shapes::ShapeRef.new(shape: __string, location_name: "imageId"))
|
439
|
+
InstanceDetails.add_member(:instance_id, Shapes::ShapeRef.new(shape: __string, location_name: "instanceId"))
|
440
|
+
InstanceDetails.add_member(:instance_state, Shapes::ShapeRef.new(shape: __string, location_name: "instanceState"))
|
441
|
+
InstanceDetails.add_member(:instance_type, Shapes::ShapeRef.new(shape: __string, location_name: "instanceType"))
|
442
|
+
InstanceDetails.add_member(:launch_time, Shapes::ShapeRef.new(shape: __string, location_name: "launchTime"))
|
443
|
+
InstanceDetails.add_member(:network_interfaces, Shapes::ShapeRef.new(shape: NetworkInterfaces, location_name: "networkInterfaces"))
|
444
|
+
InstanceDetails.add_member(:platform, Shapes::ShapeRef.new(shape: __string, location_name: "platform"))
|
445
|
+
InstanceDetails.add_member(:product_codes, Shapes::ShapeRef.new(shape: ProductCodes, location_name: "productCodes"))
|
446
|
+
InstanceDetails.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
447
|
+
InstanceDetails.struct_class = Types::InstanceDetails
|
448
|
+
|
449
|
+
Invitation.add_member(:account_id, Shapes::ShapeRef.new(shape: __string, location_name: "accountId"))
|
450
|
+
Invitation.add_member(:invitation_id, Shapes::ShapeRef.new(shape: InvitationId, location_name: "invitationId"))
|
451
|
+
Invitation.add_member(:invited_at, Shapes::ShapeRef.new(shape: InvitedAt, location_name: "invitedAt"))
|
452
|
+
Invitation.add_member(:relationship_status, Shapes::ShapeRef.new(shape: __string, location_name: "relationshipStatus"))
|
453
|
+
Invitation.struct_class = Types::Invitation
|
454
|
+
|
455
|
+
Invitations.member = Shapes::ShapeRef.new(shape: Invitation)
|
456
|
+
|
457
|
+
InviteMembersRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIds, location_name: "accountIds"))
|
458
|
+
InviteMembersRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "detectorId"))
|
459
|
+
InviteMembersRequest.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message"))
|
460
|
+
InviteMembersRequest.struct_class = Types::InviteMembersRequest
|
461
|
+
|
462
|
+
InviteMembersResponse.add_member(:unprocessed_accounts, Shapes::ShapeRef.new(shape: UnprocessedAccounts, location_name: "unprocessedAccounts"))
|
463
|
+
InviteMembersResponse.struct_class = Types::InviteMembersResponse
|
464
|
+
|
465
|
+
IpSetIds.member = Shapes::ShapeRef.new(shape: IpSetId)
|
466
|
+
|
467
|
+
Ipv6Addresses.member = Shapes::ShapeRef.new(shape: Ipv6Address)
|
468
|
+
|
469
|
+
ListDetectorsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
470
|
+
ListDetectorsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
|
471
|
+
ListDetectorsRequest.struct_class = Types::ListDetectorsRequest
|
472
|
+
|
473
|
+
ListDetectorsResponse.add_member(:detector_ids, Shapes::ShapeRef.new(shape: DetectorIds, location_name: "detectorIds"))
|
474
|
+
ListDetectorsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
475
|
+
ListDetectorsResponse.struct_class = Types::ListDetectorsResponse
|
476
|
+
|
477
|
+
ListFindingsRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "detectorId"))
|
478
|
+
ListFindingsRequest.add_member(:finding_criteria, Shapes::ShapeRef.new(shape: FindingCriteria, location_name: "findingCriteria"))
|
479
|
+
ListFindingsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
480
|
+
ListFindingsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
481
|
+
ListFindingsRequest.add_member(:sort_criteria, Shapes::ShapeRef.new(shape: SortCriteria, location_name: "sortCriteria"))
|
482
|
+
ListFindingsRequest.struct_class = Types::ListFindingsRequest
|
483
|
+
|
484
|
+
ListFindingsResponse.add_member(:finding_ids, Shapes::ShapeRef.new(shape: FindingIds, location_name: "findingIds"))
|
485
|
+
ListFindingsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
486
|
+
ListFindingsResponse.struct_class = Types::ListFindingsResponse
|
487
|
+
|
488
|
+
ListIPSetsRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "detectorId"))
|
489
|
+
ListIPSetsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
490
|
+
ListIPSetsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
|
491
|
+
ListIPSetsRequest.struct_class = Types::ListIPSetsRequest
|
492
|
+
|
493
|
+
ListIPSetsResponse.add_member(:ip_set_ids, Shapes::ShapeRef.new(shape: IpSetIds, location_name: "ipSetIds"))
|
494
|
+
ListIPSetsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
495
|
+
ListIPSetsResponse.struct_class = Types::ListIPSetsResponse
|
496
|
+
|
497
|
+
ListInvitationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
498
|
+
ListInvitationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
|
499
|
+
ListInvitationsRequest.struct_class = Types::ListInvitationsRequest
|
500
|
+
|
501
|
+
ListInvitationsResponse.add_member(:invitations, Shapes::ShapeRef.new(shape: Invitations, location_name: "invitations"))
|
502
|
+
ListInvitationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
503
|
+
ListInvitationsResponse.struct_class = Types::ListInvitationsResponse
|
504
|
+
|
505
|
+
ListMembersRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "detectorId"))
|
506
|
+
ListMembersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
507
|
+
ListMembersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
|
508
|
+
ListMembersRequest.add_member(:only_associated, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "onlyAssociated"))
|
509
|
+
ListMembersRequest.struct_class = Types::ListMembersRequest
|
510
|
+
|
511
|
+
ListMembersResponse.add_member(:members, Shapes::ShapeRef.new(shape: Members, location_name: "members"))
|
512
|
+
ListMembersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
513
|
+
ListMembersResponse.struct_class = Types::ListMembersResponse
|
514
|
+
|
515
|
+
ListThreatIntelSetsRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "detectorId"))
|
516
|
+
ListThreatIntelSetsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
517
|
+
ListThreatIntelSetsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
|
518
|
+
ListThreatIntelSetsRequest.struct_class = Types::ListThreatIntelSetsRequest
|
519
|
+
|
520
|
+
ListThreatIntelSetsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
521
|
+
ListThreatIntelSetsResponse.add_member(:threat_intel_set_ids, Shapes::ShapeRef.new(shape: ThreatIntelSetIds, location_name: "threatIntelSetIds"))
|
522
|
+
ListThreatIntelSetsResponse.struct_class = Types::ListThreatIntelSetsResponse
|
523
|
+
|
524
|
+
LocalPortDetails.add_member(:port, Shapes::ShapeRef.new(shape: __integer, location_name: "port"))
|
525
|
+
LocalPortDetails.add_member(:port_name, Shapes::ShapeRef.new(shape: __string, location_name: "portName"))
|
526
|
+
LocalPortDetails.struct_class = Types::LocalPortDetails
|
527
|
+
|
528
|
+
MapOfCondition.key = Shapes::ShapeRef.new(shape: __string)
|
529
|
+
MapOfCondition.value = Shapes::ShapeRef.new(shape: Condition)
|
530
|
+
|
531
|
+
MapOfCountBySeverityFindingStatistic.key = Shapes::ShapeRef.new(shape: __string)
|
532
|
+
MapOfCountBySeverityFindingStatistic.value = Shapes::ShapeRef.new(shape: CountBySeverityFindingStatistic)
|
533
|
+
|
534
|
+
Master.add_member(:account_id, Shapes::ShapeRef.new(shape: __string, location_name: "accountId"))
|
535
|
+
Master.add_member(:invitation_id, Shapes::ShapeRef.new(shape: InvitationId, location_name: "invitationId"))
|
536
|
+
Master.add_member(:invited_at, Shapes::ShapeRef.new(shape: InvitedAt, location_name: "invitedAt"))
|
537
|
+
Master.add_member(:relationship_status, Shapes::ShapeRef.new(shape: __string, location_name: "relationshipStatus"))
|
538
|
+
Master.struct_class = Types::Master
|
539
|
+
|
540
|
+
Member.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId"))
|
541
|
+
Member.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, location_name: "detectorId"))
|
542
|
+
Member.add_member(:email, Shapes::ShapeRef.new(shape: Email, location_name: "email"))
|
543
|
+
Member.add_member(:invited_at, Shapes::ShapeRef.new(shape: InvitedAt, location_name: "invitedAt"))
|
544
|
+
Member.add_member(:master_id, Shapes::ShapeRef.new(shape: MasterId, location_name: "masterId"))
|
545
|
+
Member.add_member(:relationship_status, Shapes::ShapeRef.new(shape: __string, location_name: "relationshipStatus"))
|
546
|
+
Member.add_member(:updated_at, Shapes::ShapeRef.new(shape: UpdatedAt, location_name: "updatedAt"))
|
547
|
+
Member.struct_class = Types::Member
|
548
|
+
|
549
|
+
Members.member = Shapes::ShapeRef.new(shape: Member)
|
550
|
+
|
551
|
+
Neq.member = Shapes::ShapeRef.new(shape: __string)
|
552
|
+
|
553
|
+
NetworkConnectionAction.add_member(:blocked, Shapes::ShapeRef.new(shape: __boolean, location_name: "blocked"))
|
554
|
+
NetworkConnectionAction.add_member(:connection_direction, Shapes::ShapeRef.new(shape: __string, location_name: "connectionDirection"))
|
555
|
+
NetworkConnectionAction.add_member(:local_port_details, Shapes::ShapeRef.new(shape: LocalPortDetails, location_name: "localPortDetails"))
|
556
|
+
NetworkConnectionAction.add_member(:protocol, Shapes::ShapeRef.new(shape: __string, location_name: "protocol"))
|
557
|
+
NetworkConnectionAction.add_member(:remote_ip_details, Shapes::ShapeRef.new(shape: RemoteIpDetails, location_name: "remoteIpDetails"))
|
558
|
+
NetworkConnectionAction.add_member(:remote_port_details, Shapes::ShapeRef.new(shape: RemotePortDetails, location_name: "remotePortDetails"))
|
559
|
+
NetworkConnectionAction.struct_class = Types::NetworkConnectionAction
|
560
|
+
|
561
|
+
NetworkInterface.add_member(:ipv_6_addresses, Shapes::ShapeRef.new(shape: Ipv6Addresses, location_name: "ipv6Addresses"))
|
562
|
+
NetworkInterface.add_member(:private_dns_name, Shapes::ShapeRef.new(shape: PrivateDnsName, location_name: "privateDnsName"))
|
563
|
+
NetworkInterface.add_member(:private_ip_address, Shapes::ShapeRef.new(shape: PrivateIpAddress, location_name: "privateIpAddress"))
|
564
|
+
NetworkInterface.add_member(:private_ip_addresses, Shapes::ShapeRef.new(shape: PrivateIpAddresses, location_name: "privateIpAddresses"))
|
565
|
+
NetworkInterface.add_member(:public_dns_name, Shapes::ShapeRef.new(shape: __string, location_name: "publicDnsName"))
|
566
|
+
NetworkInterface.add_member(:public_ip, Shapes::ShapeRef.new(shape: __string, location_name: "publicIp"))
|
567
|
+
NetworkInterface.add_member(:security_groups, Shapes::ShapeRef.new(shape: SecurityGroups, location_name: "securityGroups"))
|
568
|
+
NetworkInterface.add_member(:subnet_id, Shapes::ShapeRef.new(shape: __string, location_name: "subnetId"))
|
569
|
+
NetworkInterface.add_member(:vpc_id, Shapes::ShapeRef.new(shape: __string, location_name: "vpcId"))
|
570
|
+
NetworkInterface.struct_class = Types::NetworkInterface
|
571
|
+
|
572
|
+
NetworkInterfaces.member = Shapes::ShapeRef.new(shape: NetworkInterface)
|
573
|
+
|
574
|
+
Organization.add_member(:asn, Shapes::ShapeRef.new(shape: __string, location_name: "asn"))
|
575
|
+
Organization.add_member(:asn_org, Shapes::ShapeRef.new(shape: __string, location_name: "asnOrg"))
|
576
|
+
Organization.add_member(:isp, Shapes::ShapeRef.new(shape: __string, location_name: "isp"))
|
577
|
+
Organization.add_member(:org, Shapes::ShapeRef.new(shape: __string, location_name: "org"))
|
578
|
+
Organization.struct_class = Types::Organization
|
579
|
+
|
580
|
+
PrivateIpAddressDetails.add_member(:private_dns_name, Shapes::ShapeRef.new(shape: PrivateDnsName, location_name: "privateDnsName"))
|
581
|
+
PrivateIpAddressDetails.add_member(:private_ip_address, Shapes::ShapeRef.new(shape: PrivateIpAddress, location_name: "privateIpAddress"))
|
582
|
+
PrivateIpAddressDetails.struct_class = Types::PrivateIpAddressDetails
|
583
|
+
|
584
|
+
PrivateIpAddresses.member = Shapes::ShapeRef.new(shape: PrivateIpAddressDetails)
|
585
|
+
|
586
|
+
ProductCode.add_member(:code, Shapes::ShapeRef.new(shape: __string, location_name: "code"))
|
587
|
+
ProductCode.add_member(:product_type, Shapes::ShapeRef.new(shape: __string, location_name: "productType"))
|
588
|
+
ProductCode.struct_class = Types::ProductCode
|
589
|
+
|
590
|
+
ProductCodes.member = Shapes::ShapeRef.new(shape: ProductCode)
|
591
|
+
|
592
|
+
RemoteIpDetails.add_member(:city, Shapes::ShapeRef.new(shape: City, location_name: "city"))
|
593
|
+
RemoteIpDetails.add_member(:country, Shapes::ShapeRef.new(shape: Country, location_name: "country"))
|
594
|
+
RemoteIpDetails.add_member(:geo_location, Shapes::ShapeRef.new(shape: GeoLocation, location_name: "geoLocation"))
|
595
|
+
RemoteIpDetails.add_member(:ip_address_v4, Shapes::ShapeRef.new(shape: __string, location_name: "ipAddressV4"))
|
596
|
+
RemoteIpDetails.add_member(:organization, Shapes::ShapeRef.new(shape: Organization, location_name: "organization"))
|
597
|
+
RemoteIpDetails.struct_class = Types::RemoteIpDetails
|
598
|
+
|
599
|
+
RemotePortDetails.add_member(:port, Shapes::ShapeRef.new(shape: __integer, location_name: "port"))
|
600
|
+
RemotePortDetails.add_member(:port_name, Shapes::ShapeRef.new(shape: __string, location_name: "portName"))
|
601
|
+
RemotePortDetails.struct_class = Types::RemotePortDetails
|
602
|
+
|
603
|
+
Resource.add_member(:instance_details, Shapes::ShapeRef.new(shape: InstanceDetails, location_name: "instanceDetails"))
|
604
|
+
Resource.add_member(:resource_type, Shapes::ShapeRef.new(shape: __string, location_name: "resourceType"))
|
605
|
+
Resource.struct_class = Types::Resource
|
606
|
+
|
607
|
+
SecurityGroup.add_member(:group_id, Shapes::ShapeRef.new(shape: __string, location_name: "groupId"))
|
608
|
+
SecurityGroup.add_member(:group_name, Shapes::ShapeRef.new(shape: __string, location_name: "groupName"))
|
609
|
+
SecurityGroup.struct_class = Types::SecurityGroup
|
610
|
+
|
611
|
+
SecurityGroups.member = Shapes::ShapeRef.new(shape: SecurityGroup)
|
612
|
+
|
613
|
+
Service.add_member(:action, Shapes::ShapeRef.new(shape: Action, location_name: "action"))
|
614
|
+
Service.add_member(:archived, Shapes::ShapeRef.new(shape: __boolean, location_name: "archived"))
|
615
|
+
Service.add_member(:count, Shapes::ShapeRef.new(shape: __integer, location_name: "count"))
|
616
|
+
Service.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, location_name: "detectorId"))
|
617
|
+
Service.add_member(:event_first_seen, Shapes::ShapeRef.new(shape: __string, location_name: "eventFirstSeen"))
|
618
|
+
Service.add_member(:event_last_seen, Shapes::ShapeRef.new(shape: __string, location_name: "eventLastSeen"))
|
619
|
+
Service.add_member(:resource_role, Shapes::ShapeRef.new(shape: __string, location_name: "resourceRole"))
|
620
|
+
Service.add_member(:service_name, Shapes::ShapeRef.new(shape: __string, location_name: "serviceName"))
|
621
|
+
Service.add_member(:user_feedback, Shapes::ShapeRef.new(shape: __string, location_name: "userFeedback"))
|
622
|
+
Service.struct_class = Types::Service
|
623
|
+
|
624
|
+
SortCriteria.add_member(:attribute_name, Shapes::ShapeRef.new(shape: __string, location_name: "attributeName"))
|
625
|
+
SortCriteria.add_member(:order_by, Shapes::ShapeRef.new(shape: OrderBy, location_name: "orderBy"))
|
626
|
+
SortCriteria.struct_class = Types::SortCriteria
|
627
|
+
|
628
|
+
StartMonitoringMembersRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIds, location_name: "accountIds"))
|
629
|
+
StartMonitoringMembersRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "detectorId"))
|
630
|
+
StartMonitoringMembersRequest.struct_class = Types::StartMonitoringMembersRequest
|
631
|
+
|
632
|
+
StartMonitoringMembersResponse.add_member(:unprocessed_accounts, Shapes::ShapeRef.new(shape: UnprocessedAccounts, location_name: "unprocessedAccounts"))
|
633
|
+
StartMonitoringMembersResponse.struct_class = Types::StartMonitoringMembersResponse
|
634
|
+
|
635
|
+
StopMonitoringMembersRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIds, location_name: "accountIds"))
|
636
|
+
StopMonitoringMembersRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "detectorId"))
|
637
|
+
StopMonitoringMembersRequest.struct_class = Types::StopMonitoringMembersRequest
|
638
|
+
|
639
|
+
StopMonitoringMembersResponse.add_member(:unprocessed_accounts, Shapes::ShapeRef.new(shape: UnprocessedAccounts, location_name: "unprocessedAccounts"))
|
640
|
+
StopMonitoringMembersResponse.struct_class = Types::StopMonitoringMembersResponse
|
641
|
+
|
642
|
+
Tag.add_member(:key, Shapes::ShapeRef.new(shape: __string, location_name: "key"))
|
643
|
+
Tag.add_member(:value, Shapes::ShapeRef.new(shape: __string, location_name: "value"))
|
644
|
+
Tag.struct_class = Types::Tag
|
645
|
+
|
646
|
+
Tags.member = Shapes::ShapeRef.new(shape: Tag)
|
647
|
+
|
648
|
+
ThreatIntelSetIds.member = Shapes::ShapeRef.new(shape: ThreatIntelSetId)
|
649
|
+
|
650
|
+
UnarchiveFindingsRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "detectorId"))
|
651
|
+
UnarchiveFindingsRequest.add_member(:finding_ids, Shapes::ShapeRef.new(shape: FindingIds, location_name: "findingIds"))
|
652
|
+
UnarchiveFindingsRequest.struct_class = Types::UnarchiveFindingsRequest
|
653
|
+
|
654
|
+
UnarchiveFindingsResponse.struct_class = Types::UnarchiveFindingsResponse
|
655
|
+
|
656
|
+
UnprocessedAccount.add_member(:account_id, Shapes::ShapeRef.new(shape: __string, location_name: "accountId"))
|
657
|
+
UnprocessedAccount.add_member(:result, Shapes::ShapeRef.new(shape: __string, location_name: "result"))
|
658
|
+
UnprocessedAccount.struct_class = Types::UnprocessedAccount
|
659
|
+
|
660
|
+
UnprocessedAccounts.member = Shapes::ShapeRef.new(shape: UnprocessedAccount)
|
661
|
+
|
662
|
+
UpdateDetectorRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "detectorId"))
|
663
|
+
UpdateDetectorRequest.add_member(:enable, Shapes::ShapeRef.new(shape: Enable, location_name: "enable"))
|
664
|
+
UpdateDetectorRequest.struct_class = Types::UpdateDetectorRequest
|
665
|
+
|
666
|
+
UpdateDetectorResponse.struct_class = Types::UpdateDetectorResponse
|
667
|
+
|
668
|
+
UpdateFindingsFeedbackRequest.add_member(:comments, Shapes::ShapeRef.new(shape: Comments, location_name: "comments"))
|
669
|
+
UpdateFindingsFeedbackRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "detectorId"))
|
670
|
+
UpdateFindingsFeedbackRequest.add_member(:feedback, Shapes::ShapeRef.new(shape: Feedback, location_name: "feedback"))
|
671
|
+
UpdateFindingsFeedbackRequest.add_member(:finding_ids, Shapes::ShapeRef.new(shape: FindingIds, location_name: "findingIds"))
|
672
|
+
UpdateFindingsFeedbackRequest.struct_class = Types::UpdateFindingsFeedbackRequest
|
673
|
+
|
674
|
+
UpdateFindingsFeedbackResponse.struct_class = Types::UpdateFindingsFeedbackResponse
|
675
|
+
|
676
|
+
UpdateIPSetRequest.add_member(:activate, Shapes::ShapeRef.new(shape: Activate, location_name: "activate"))
|
677
|
+
UpdateIPSetRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "detectorId"))
|
678
|
+
UpdateIPSetRequest.add_member(:ip_set_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "ipSetId"))
|
679
|
+
UpdateIPSetRequest.add_member(:location, Shapes::ShapeRef.new(shape: Location, location_name: "location"))
|
680
|
+
UpdateIPSetRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
|
681
|
+
UpdateIPSetRequest.struct_class = Types::UpdateIPSetRequest
|
682
|
+
|
683
|
+
UpdateIPSetResponse.struct_class = Types::UpdateIPSetResponse
|
684
|
+
|
685
|
+
UpdateThreatIntelSetRequest.add_member(:activate, Shapes::ShapeRef.new(shape: Activate, location_name: "activate"))
|
686
|
+
UpdateThreatIntelSetRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "detectorId"))
|
687
|
+
UpdateThreatIntelSetRequest.add_member(:location, Shapes::ShapeRef.new(shape: Location, location_name: "location"))
|
688
|
+
UpdateThreatIntelSetRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
|
689
|
+
UpdateThreatIntelSetRequest.add_member(:threat_intel_set_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "threatIntelSetId"))
|
690
|
+
UpdateThreatIntelSetRequest.struct_class = Types::UpdateThreatIntelSetRequest
|
691
|
+
|
692
|
+
UpdateThreatIntelSetResponse.struct_class = Types::UpdateThreatIntelSetResponse
|
693
|
+
|
694
|
+
|
695
|
+
# @api private
|
696
|
+
API = Seahorse::Model::Api.new.tap do |api|
|
697
|
+
|
698
|
+
api.version = "2017-11-28"
|
699
|
+
|
700
|
+
api.metadata = {
|
701
|
+
"endpointPrefix" => "guardduty",
|
702
|
+
"jsonVersion" => "1.1",
|
703
|
+
"protocol" => "rest-json",
|
704
|
+
"serviceFullName" => "Amazon GuardDuty",
|
705
|
+
"signatureVersion" => "v4",
|
706
|
+
"signingName" => "guardduty",
|
707
|
+
}
|
708
|
+
|
709
|
+
api.add_operation(:accept_invitation, Seahorse::Model::Operation.new.tap do |o|
|
710
|
+
o.name = "AcceptInvitation"
|
711
|
+
o.http_method = "POST"
|
712
|
+
o.http_request_uri = "/detector/{detectorId}/master"
|
713
|
+
o.input = Shapes::ShapeRef.new(shape: AcceptInvitationRequest)
|
714
|
+
o.output = Shapes::ShapeRef.new(shape: AcceptInvitationResponse)
|
715
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
716
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
717
|
+
end)
|
718
|
+
|
719
|
+
api.add_operation(:archive_findings, Seahorse::Model::Operation.new.tap do |o|
|
720
|
+
o.name = "ArchiveFindings"
|
721
|
+
o.http_method = "POST"
|
722
|
+
o.http_request_uri = "/detector/{detectorId}/findings/archive"
|
723
|
+
o.input = Shapes::ShapeRef.new(shape: ArchiveFindingsRequest)
|
724
|
+
o.output = Shapes::ShapeRef.new(shape: ArchiveFindingsResponse)
|
725
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
726
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
727
|
+
end)
|
728
|
+
|
729
|
+
api.add_operation(:create_detector, Seahorse::Model::Operation.new.tap do |o|
|
730
|
+
o.name = "CreateDetector"
|
731
|
+
o.http_method = "POST"
|
732
|
+
o.http_request_uri = "/detector"
|
733
|
+
o.input = Shapes::ShapeRef.new(shape: CreateDetectorRequest)
|
734
|
+
o.output = Shapes::ShapeRef.new(shape: CreateDetectorResponse)
|
735
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
736
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
737
|
+
end)
|
738
|
+
|
739
|
+
api.add_operation(:create_ip_set, Seahorse::Model::Operation.new.tap do |o|
|
740
|
+
o.name = "CreateIPSet"
|
741
|
+
o.http_method = "POST"
|
742
|
+
o.http_request_uri = "/detector/{detectorId}/ipset"
|
743
|
+
o.input = Shapes::ShapeRef.new(shape: CreateIPSetRequest)
|
744
|
+
o.output = Shapes::ShapeRef.new(shape: CreateIPSetResponse)
|
745
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
746
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
747
|
+
end)
|
748
|
+
|
749
|
+
api.add_operation(:create_members, Seahorse::Model::Operation.new.tap do |o|
|
750
|
+
o.name = "CreateMembers"
|
751
|
+
o.http_method = "POST"
|
752
|
+
o.http_request_uri = "/detector/{detectorId}/member"
|
753
|
+
o.input = Shapes::ShapeRef.new(shape: CreateMembersRequest)
|
754
|
+
o.output = Shapes::ShapeRef.new(shape: CreateMembersResponse)
|
755
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
756
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
757
|
+
end)
|
758
|
+
|
759
|
+
api.add_operation(:create_sample_findings, Seahorse::Model::Operation.new.tap do |o|
|
760
|
+
o.name = "CreateSampleFindings"
|
761
|
+
o.http_method = "POST"
|
762
|
+
o.http_request_uri = "/detector/{detectorId}/findings/create"
|
763
|
+
o.input = Shapes::ShapeRef.new(shape: CreateSampleFindingsRequest)
|
764
|
+
o.output = Shapes::ShapeRef.new(shape: CreateSampleFindingsResponse)
|
765
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
766
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
767
|
+
end)
|
768
|
+
|
769
|
+
api.add_operation(:create_threat_intel_set, Seahorse::Model::Operation.new.tap do |o|
|
770
|
+
o.name = "CreateThreatIntelSet"
|
771
|
+
o.http_method = "POST"
|
772
|
+
o.http_request_uri = "/detector/{detectorId}/threatintelset"
|
773
|
+
o.input = Shapes::ShapeRef.new(shape: CreateThreatIntelSetRequest)
|
774
|
+
o.output = Shapes::ShapeRef.new(shape: CreateThreatIntelSetResponse)
|
775
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
776
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
777
|
+
end)
|
778
|
+
|
779
|
+
api.add_operation(:decline_invitations, Seahorse::Model::Operation.new.tap do |o|
|
780
|
+
o.name = "DeclineInvitations"
|
781
|
+
o.http_method = "POST"
|
782
|
+
o.http_request_uri = "/invitation/decline"
|
783
|
+
o.input = Shapes::ShapeRef.new(shape: DeclineInvitationsRequest)
|
784
|
+
o.output = Shapes::ShapeRef.new(shape: DeclineInvitationsResponse)
|
785
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
786
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
787
|
+
end)
|
788
|
+
|
789
|
+
api.add_operation(:delete_detector, Seahorse::Model::Operation.new.tap do |o|
|
790
|
+
o.name = "DeleteDetector"
|
791
|
+
o.http_method = "DELETE"
|
792
|
+
o.http_request_uri = "/detector/{detectorId}"
|
793
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteDetectorRequest)
|
794
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteDetectorResponse)
|
795
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
796
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
797
|
+
end)
|
798
|
+
|
799
|
+
api.add_operation(:delete_ip_set, Seahorse::Model::Operation.new.tap do |o|
|
800
|
+
o.name = "DeleteIPSet"
|
801
|
+
o.http_method = "DELETE"
|
802
|
+
o.http_request_uri = "/detector/{detectorId}/ipset/{ipSetId}"
|
803
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteIPSetRequest)
|
804
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteIPSetResponse)
|
805
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
806
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
807
|
+
end)
|
808
|
+
|
809
|
+
api.add_operation(:delete_invitations, Seahorse::Model::Operation.new.tap do |o|
|
810
|
+
o.name = "DeleteInvitations"
|
811
|
+
o.http_method = "POST"
|
812
|
+
o.http_request_uri = "/invitation/delete"
|
813
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteInvitationsRequest)
|
814
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteInvitationsResponse)
|
815
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
816
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
817
|
+
end)
|
818
|
+
|
819
|
+
api.add_operation(:delete_members, Seahorse::Model::Operation.new.tap do |o|
|
820
|
+
o.name = "DeleteMembers"
|
821
|
+
o.http_method = "POST"
|
822
|
+
o.http_request_uri = "/detector/{detectorId}/member/delete"
|
823
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteMembersRequest)
|
824
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteMembersResponse)
|
825
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
826
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
827
|
+
end)
|
828
|
+
|
829
|
+
api.add_operation(:delete_threat_intel_set, Seahorse::Model::Operation.new.tap do |o|
|
830
|
+
o.name = "DeleteThreatIntelSet"
|
831
|
+
o.http_method = "DELETE"
|
832
|
+
o.http_request_uri = "/detector/{detectorId}/threatintelset/{threatIntelSetId}"
|
833
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteThreatIntelSetRequest)
|
834
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteThreatIntelSetResponse)
|
835
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
836
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
837
|
+
end)
|
838
|
+
|
839
|
+
api.add_operation(:disassociate_from_master_account, Seahorse::Model::Operation.new.tap do |o|
|
840
|
+
o.name = "DisassociateFromMasterAccount"
|
841
|
+
o.http_method = "POST"
|
842
|
+
o.http_request_uri = "/detector/{detectorId}/master/disassociate"
|
843
|
+
o.input = Shapes::ShapeRef.new(shape: DisassociateFromMasterAccountRequest)
|
844
|
+
o.output = Shapes::ShapeRef.new(shape: DisassociateFromMasterAccountResponse)
|
845
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
846
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
847
|
+
end)
|
848
|
+
|
849
|
+
api.add_operation(:disassociate_members, Seahorse::Model::Operation.new.tap do |o|
|
850
|
+
o.name = "DisassociateMembers"
|
851
|
+
o.http_method = "POST"
|
852
|
+
o.http_request_uri = "/detector/{detectorId}/member/disassociate"
|
853
|
+
o.input = Shapes::ShapeRef.new(shape: DisassociateMembersRequest)
|
854
|
+
o.output = Shapes::ShapeRef.new(shape: DisassociateMembersResponse)
|
855
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
856
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
857
|
+
end)
|
858
|
+
|
859
|
+
api.add_operation(:get_detector, Seahorse::Model::Operation.new.tap do |o|
|
860
|
+
o.name = "GetDetector"
|
861
|
+
o.http_method = "GET"
|
862
|
+
o.http_request_uri = "/detector/{detectorId}"
|
863
|
+
o.input = Shapes::ShapeRef.new(shape: GetDetectorRequest)
|
864
|
+
o.output = Shapes::ShapeRef.new(shape: GetDetectorResponse)
|
865
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
866
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
867
|
+
end)
|
868
|
+
|
869
|
+
api.add_operation(:get_findings, Seahorse::Model::Operation.new.tap do |o|
|
870
|
+
o.name = "GetFindings"
|
871
|
+
o.http_method = "POST"
|
872
|
+
o.http_request_uri = "/detector/{detectorId}/findings/get"
|
873
|
+
o.input = Shapes::ShapeRef.new(shape: GetFindingsRequest)
|
874
|
+
o.output = Shapes::ShapeRef.new(shape: GetFindingsResponse)
|
875
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
876
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
877
|
+
end)
|
878
|
+
|
879
|
+
api.add_operation(:get_findings_statistics, Seahorse::Model::Operation.new.tap do |o|
|
880
|
+
o.name = "GetFindingsStatistics"
|
881
|
+
o.http_method = "POST"
|
882
|
+
o.http_request_uri = "/detector/{detectorId}/findings/statistics"
|
883
|
+
o.input = Shapes::ShapeRef.new(shape: GetFindingsStatisticsRequest)
|
884
|
+
o.output = Shapes::ShapeRef.new(shape: GetFindingsStatisticsResponse)
|
885
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
886
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
887
|
+
end)
|
888
|
+
|
889
|
+
api.add_operation(:get_ip_set, Seahorse::Model::Operation.new.tap do |o|
|
890
|
+
o.name = "GetIPSet"
|
891
|
+
o.http_method = "GET"
|
892
|
+
o.http_request_uri = "/detector/{detectorId}/ipset/{ipSetId}"
|
893
|
+
o.input = Shapes::ShapeRef.new(shape: GetIPSetRequest)
|
894
|
+
o.output = Shapes::ShapeRef.new(shape: GetIPSetResponse)
|
895
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
896
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
897
|
+
end)
|
898
|
+
|
899
|
+
api.add_operation(:get_invitations_count, Seahorse::Model::Operation.new.tap do |o|
|
900
|
+
o.name = "GetInvitationsCount"
|
901
|
+
o.http_method = "GET"
|
902
|
+
o.http_request_uri = "/invitation/count"
|
903
|
+
o.input = Shapes::ShapeRef.new(shape: GetInvitationsCountRequest)
|
904
|
+
o.output = Shapes::ShapeRef.new(shape: GetInvitationsCountResponse)
|
905
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
906
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
907
|
+
end)
|
908
|
+
|
909
|
+
api.add_operation(:get_master_account, Seahorse::Model::Operation.new.tap do |o|
|
910
|
+
o.name = "GetMasterAccount"
|
911
|
+
o.http_method = "GET"
|
912
|
+
o.http_request_uri = "/detector/{detectorId}/master"
|
913
|
+
o.input = Shapes::ShapeRef.new(shape: GetMasterAccountRequest)
|
914
|
+
o.output = Shapes::ShapeRef.new(shape: GetMasterAccountResponse)
|
915
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
916
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
917
|
+
end)
|
918
|
+
|
919
|
+
api.add_operation(:get_members, Seahorse::Model::Operation.new.tap do |o|
|
920
|
+
o.name = "GetMembers"
|
921
|
+
o.http_method = "POST"
|
922
|
+
o.http_request_uri = "/detector/{detectorId}/member/get"
|
923
|
+
o.input = Shapes::ShapeRef.new(shape: GetMembersRequest)
|
924
|
+
o.output = Shapes::ShapeRef.new(shape: GetMembersResponse)
|
925
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
926
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
927
|
+
end)
|
928
|
+
|
929
|
+
api.add_operation(:get_threat_intel_set, Seahorse::Model::Operation.new.tap do |o|
|
930
|
+
o.name = "GetThreatIntelSet"
|
931
|
+
o.http_method = "GET"
|
932
|
+
o.http_request_uri = "/detector/{detectorId}/threatintelset/{threatIntelSetId}"
|
933
|
+
o.input = Shapes::ShapeRef.new(shape: GetThreatIntelSetRequest)
|
934
|
+
o.output = Shapes::ShapeRef.new(shape: GetThreatIntelSetResponse)
|
935
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
936
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
937
|
+
end)
|
938
|
+
|
939
|
+
api.add_operation(:invite_members, Seahorse::Model::Operation.new.tap do |o|
|
940
|
+
o.name = "InviteMembers"
|
941
|
+
o.http_method = "POST"
|
942
|
+
o.http_request_uri = "/detector/{detectorId}/member/invite"
|
943
|
+
o.input = Shapes::ShapeRef.new(shape: InviteMembersRequest)
|
944
|
+
o.output = Shapes::ShapeRef.new(shape: InviteMembersResponse)
|
945
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
946
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
947
|
+
end)
|
948
|
+
|
949
|
+
api.add_operation(:list_detectors, Seahorse::Model::Operation.new.tap do |o|
|
950
|
+
o.name = "ListDetectors"
|
951
|
+
o.http_method = "GET"
|
952
|
+
o.http_request_uri = "/detector"
|
953
|
+
o.input = Shapes::ShapeRef.new(shape: ListDetectorsRequest)
|
954
|
+
o.output = Shapes::ShapeRef.new(shape: ListDetectorsResponse)
|
955
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
956
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
957
|
+
o[:pager] = Aws::Pager.new(
|
958
|
+
limit_key: "max_results",
|
959
|
+
tokens: {
|
960
|
+
"next_token" => "next_token"
|
961
|
+
}
|
962
|
+
)
|
963
|
+
end)
|
964
|
+
|
965
|
+
api.add_operation(:list_findings, Seahorse::Model::Operation.new.tap do |o|
|
966
|
+
o.name = "ListFindings"
|
967
|
+
o.http_method = "POST"
|
968
|
+
o.http_request_uri = "/detector/{detectorId}/findings"
|
969
|
+
o.input = Shapes::ShapeRef.new(shape: ListFindingsRequest)
|
970
|
+
o.output = Shapes::ShapeRef.new(shape: ListFindingsResponse)
|
971
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
972
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
973
|
+
o[:pager] = Aws::Pager.new(
|
974
|
+
limit_key: "max_results",
|
975
|
+
tokens: {
|
976
|
+
"next_token" => "next_token"
|
977
|
+
}
|
978
|
+
)
|
979
|
+
end)
|
980
|
+
|
981
|
+
api.add_operation(:list_ip_sets, Seahorse::Model::Operation.new.tap do |o|
|
982
|
+
o.name = "ListIPSets"
|
983
|
+
o.http_method = "GET"
|
984
|
+
o.http_request_uri = "/detector/{detectorId}/ipset"
|
985
|
+
o.input = Shapes::ShapeRef.new(shape: ListIPSetsRequest)
|
986
|
+
o.output = Shapes::ShapeRef.new(shape: ListIPSetsResponse)
|
987
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
988
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
989
|
+
o[:pager] = Aws::Pager.new(
|
990
|
+
limit_key: "max_results",
|
991
|
+
tokens: {
|
992
|
+
"next_token" => "next_token"
|
993
|
+
}
|
994
|
+
)
|
995
|
+
end)
|
996
|
+
|
997
|
+
api.add_operation(:list_invitations, Seahorse::Model::Operation.new.tap do |o|
|
998
|
+
o.name = "ListInvitations"
|
999
|
+
o.http_method = "GET"
|
1000
|
+
o.http_request_uri = "/invitation"
|
1001
|
+
o.input = Shapes::ShapeRef.new(shape: ListInvitationsRequest)
|
1002
|
+
o.output = Shapes::ShapeRef.new(shape: ListInvitationsResponse)
|
1003
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1004
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
1005
|
+
o[:pager] = Aws::Pager.new(
|
1006
|
+
limit_key: "max_results",
|
1007
|
+
tokens: {
|
1008
|
+
"next_token" => "next_token"
|
1009
|
+
}
|
1010
|
+
)
|
1011
|
+
end)
|
1012
|
+
|
1013
|
+
api.add_operation(:list_members, Seahorse::Model::Operation.new.tap do |o|
|
1014
|
+
o.name = "ListMembers"
|
1015
|
+
o.http_method = "GET"
|
1016
|
+
o.http_request_uri = "/detector/{detectorId}/member"
|
1017
|
+
o.input = Shapes::ShapeRef.new(shape: ListMembersRequest)
|
1018
|
+
o.output = Shapes::ShapeRef.new(shape: ListMembersResponse)
|
1019
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1020
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
1021
|
+
o[:pager] = Aws::Pager.new(
|
1022
|
+
limit_key: "max_results",
|
1023
|
+
tokens: {
|
1024
|
+
"next_token" => "next_token"
|
1025
|
+
}
|
1026
|
+
)
|
1027
|
+
end)
|
1028
|
+
|
1029
|
+
api.add_operation(:list_threat_intel_sets, Seahorse::Model::Operation.new.tap do |o|
|
1030
|
+
o.name = "ListThreatIntelSets"
|
1031
|
+
o.http_method = "GET"
|
1032
|
+
o.http_request_uri = "/detector/{detectorId}/threatintelset"
|
1033
|
+
o.input = Shapes::ShapeRef.new(shape: ListThreatIntelSetsRequest)
|
1034
|
+
o.output = Shapes::ShapeRef.new(shape: ListThreatIntelSetsResponse)
|
1035
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1036
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
1037
|
+
o[:pager] = Aws::Pager.new(
|
1038
|
+
limit_key: "max_results",
|
1039
|
+
tokens: {
|
1040
|
+
"next_token" => "next_token"
|
1041
|
+
}
|
1042
|
+
)
|
1043
|
+
end)
|
1044
|
+
|
1045
|
+
api.add_operation(:start_monitoring_members, Seahorse::Model::Operation.new.tap do |o|
|
1046
|
+
o.name = "StartMonitoringMembers"
|
1047
|
+
o.http_method = "POST"
|
1048
|
+
o.http_request_uri = "/detector/{detectorId}/member/start"
|
1049
|
+
o.input = Shapes::ShapeRef.new(shape: StartMonitoringMembersRequest)
|
1050
|
+
o.output = Shapes::ShapeRef.new(shape: StartMonitoringMembersResponse)
|
1051
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1052
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
1053
|
+
end)
|
1054
|
+
|
1055
|
+
api.add_operation(:stop_monitoring_members, Seahorse::Model::Operation.new.tap do |o|
|
1056
|
+
o.name = "StopMonitoringMembers"
|
1057
|
+
o.http_method = "POST"
|
1058
|
+
o.http_request_uri = "/detector/{detectorId}/member/stop"
|
1059
|
+
o.input = Shapes::ShapeRef.new(shape: StopMonitoringMembersRequest)
|
1060
|
+
o.output = Shapes::ShapeRef.new(shape: StopMonitoringMembersResponse)
|
1061
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1062
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
1063
|
+
end)
|
1064
|
+
|
1065
|
+
api.add_operation(:unarchive_findings, Seahorse::Model::Operation.new.tap do |o|
|
1066
|
+
o.name = "UnarchiveFindings"
|
1067
|
+
o.http_method = "POST"
|
1068
|
+
o.http_request_uri = "/detector/{detectorId}/findings/unarchive"
|
1069
|
+
o.input = Shapes::ShapeRef.new(shape: UnarchiveFindingsRequest)
|
1070
|
+
o.output = Shapes::ShapeRef.new(shape: UnarchiveFindingsResponse)
|
1071
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1072
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
1073
|
+
end)
|
1074
|
+
|
1075
|
+
api.add_operation(:update_detector, Seahorse::Model::Operation.new.tap do |o|
|
1076
|
+
o.name = "UpdateDetector"
|
1077
|
+
o.http_method = "POST"
|
1078
|
+
o.http_request_uri = "/detector/{detectorId}"
|
1079
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateDetectorRequest)
|
1080
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateDetectorResponse)
|
1081
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1082
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
1083
|
+
end)
|
1084
|
+
|
1085
|
+
api.add_operation(:update_findings_feedback, Seahorse::Model::Operation.new.tap do |o|
|
1086
|
+
o.name = "UpdateFindingsFeedback"
|
1087
|
+
o.http_method = "POST"
|
1088
|
+
o.http_request_uri = "/detector/{detectorId}/findings/feedback"
|
1089
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateFindingsFeedbackRequest)
|
1090
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateFindingsFeedbackResponse)
|
1091
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1092
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
1093
|
+
end)
|
1094
|
+
|
1095
|
+
api.add_operation(:update_ip_set, Seahorse::Model::Operation.new.tap do |o|
|
1096
|
+
o.name = "UpdateIPSet"
|
1097
|
+
o.http_method = "POST"
|
1098
|
+
o.http_request_uri = "/detector/{detectorId}/ipset/{ipSetId}"
|
1099
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateIPSetRequest)
|
1100
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateIPSetResponse)
|
1101
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1102
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
1103
|
+
end)
|
1104
|
+
|
1105
|
+
api.add_operation(:update_threat_intel_set, Seahorse::Model::Operation.new.tap do |o|
|
1106
|
+
o.name = "UpdateThreatIntelSet"
|
1107
|
+
o.http_method = "POST"
|
1108
|
+
o.http_request_uri = "/detector/{detectorId}/threatintelset/{threatIntelSetId}"
|
1109
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateThreatIntelSetRequest)
|
1110
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateThreatIntelSetResponse)
|
1111
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1112
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
1113
|
+
end)
|
1114
|
+
end
|
1115
|
+
|
1116
|
+
end
|
1117
|
+
end
|