aws-sdk-guardduty 1.104.0 → 1.106.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-guardduty/client.rb +362 -3
- data/lib/aws-sdk-guardduty/client_api.rb +11 -0
- data/lib/aws-sdk-guardduty/endpoint_parameters.rb +9 -6
- data/lib/aws-sdk-guardduty/endpoints.rb +2 -812
- data/lib/aws-sdk-guardduty/plugins/endpoints.rb +1 -154
- data/lib/aws-sdk-guardduty/types.rb +424 -7
- data/lib/aws-sdk-guardduty.rb +1 -1
- data/sig/types.rbs +12 -0
- metadata +4 -4
@@ -27,7 +27,7 @@ The endpoint provider used to resolve endpoints. Any object that responds to
|
|
27
27
|
class Handler < Seahorse::Client::Handler
|
28
28
|
def call(context)
|
29
29
|
unless context[:discovered_endpoint]
|
30
|
-
params = parameters_for_operation(context)
|
30
|
+
params = Aws::GuardDuty::Endpoints.parameters_for_operation(context)
|
31
31
|
endpoint = context.config.endpoint_provider.resolve_endpoint(params)
|
32
32
|
|
33
33
|
context.http_request.endpoint = endpoint.url
|
@@ -67,159 +67,6 @@ The endpoint provider used to resolve endpoints. Any object that responds to
|
|
67
67
|
context.http_request.headers[key] = value
|
68
68
|
end
|
69
69
|
end
|
70
|
-
|
71
|
-
def parameters_for_operation(context)
|
72
|
-
case context.operation_name
|
73
|
-
when :accept_administrator_invitation
|
74
|
-
Aws::GuardDuty::Endpoints::AcceptAdministratorInvitation.build(context)
|
75
|
-
when :accept_invitation
|
76
|
-
Aws::GuardDuty::Endpoints::AcceptInvitation.build(context)
|
77
|
-
when :archive_findings
|
78
|
-
Aws::GuardDuty::Endpoints::ArchiveFindings.build(context)
|
79
|
-
when :create_detector
|
80
|
-
Aws::GuardDuty::Endpoints::CreateDetector.build(context)
|
81
|
-
when :create_filter
|
82
|
-
Aws::GuardDuty::Endpoints::CreateFilter.build(context)
|
83
|
-
when :create_ip_set
|
84
|
-
Aws::GuardDuty::Endpoints::CreateIPSet.build(context)
|
85
|
-
when :create_malware_protection_plan
|
86
|
-
Aws::GuardDuty::Endpoints::CreateMalwareProtectionPlan.build(context)
|
87
|
-
when :create_members
|
88
|
-
Aws::GuardDuty::Endpoints::CreateMembers.build(context)
|
89
|
-
when :create_publishing_destination
|
90
|
-
Aws::GuardDuty::Endpoints::CreatePublishingDestination.build(context)
|
91
|
-
when :create_sample_findings
|
92
|
-
Aws::GuardDuty::Endpoints::CreateSampleFindings.build(context)
|
93
|
-
when :create_threat_intel_set
|
94
|
-
Aws::GuardDuty::Endpoints::CreateThreatIntelSet.build(context)
|
95
|
-
when :decline_invitations
|
96
|
-
Aws::GuardDuty::Endpoints::DeclineInvitations.build(context)
|
97
|
-
when :delete_detector
|
98
|
-
Aws::GuardDuty::Endpoints::DeleteDetector.build(context)
|
99
|
-
when :delete_filter
|
100
|
-
Aws::GuardDuty::Endpoints::DeleteFilter.build(context)
|
101
|
-
when :delete_ip_set
|
102
|
-
Aws::GuardDuty::Endpoints::DeleteIPSet.build(context)
|
103
|
-
when :delete_invitations
|
104
|
-
Aws::GuardDuty::Endpoints::DeleteInvitations.build(context)
|
105
|
-
when :delete_malware_protection_plan
|
106
|
-
Aws::GuardDuty::Endpoints::DeleteMalwareProtectionPlan.build(context)
|
107
|
-
when :delete_members
|
108
|
-
Aws::GuardDuty::Endpoints::DeleteMembers.build(context)
|
109
|
-
when :delete_publishing_destination
|
110
|
-
Aws::GuardDuty::Endpoints::DeletePublishingDestination.build(context)
|
111
|
-
when :delete_threat_intel_set
|
112
|
-
Aws::GuardDuty::Endpoints::DeleteThreatIntelSet.build(context)
|
113
|
-
when :describe_malware_scans
|
114
|
-
Aws::GuardDuty::Endpoints::DescribeMalwareScans.build(context)
|
115
|
-
when :describe_organization_configuration
|
116
|
-
Aws::GuardDuty::Endpoints::DescribeOrganizationConfiguration.build(context)
|
117
|
-
when :describe_publishing_destination
|
118
|
-
Aws::GuardDuty::Endpoints::DescribePublishingDestination.build(context)
|
119
|
-
when :disable_organization_admin_account
|
120
|
-
Aws::GuardDuty::Endpoints::DisableOrganizationAdminAccount.build(context)
|
121
|
-
when :disassociate_from_administrator_account
|
122
|
-
Aws::GuardDuty::Endpoints::DisassociateFromAdministratorAccount.build(context)
|
123
|
-
when :disassociate_from_master_account
|
124
|
-
Aws::GuardDuty::Endpoints::DisassociateFromMasterAccount.build(context)
|
125
|
-
when :disassociate_members
|
126
|
-
Aws::GuardDuty::Endpoints::DisassociateMembers.build(context)
|
127
|
-
when :enable_organization_admin_account
|
128
|
-
Aws::GuardDuty::Endpoints::EnableOrganizationAdminAccount.build(context)
|
129
|
-
when :get_administrator_account
|
130
|
-
Aws::GuardDuty::Endpoints::GetAdministratorAccount.build(context)
|
131
|
-
when :get_coverage_statistics
|
132
|
-
Aws::GuardDuty::Endpoints::GetCoverageStatistics.build(context)
|
133
|
-
when :get_detector
|
134
|
-
Aws::GuardDuty::Endpoints::GetDetector.build(context)
|
135
|
-
when :get_filter
|
136
|
-
Aws::GuardDuty::Endpoints::GetFilter.build(context)
|
137
|
-
when :get_findings
|
138
|
-
Aws::GuardDuty::Endpoints::GetFindings.build(context)
|
139
|
-
when :get_findings_statistics
|
140
|
-
Aws::GuardDuty::Endpoints::GetFindingsStatistics.build(context)
|
141
|
-
when :get_ip_set
|
142
|
-
Aws::GuardDuty::Endpoints::GetIPSet.build(context)
|
143
|
-
when :get_invitations_count
|
144
|
-
Aws::GuardDuty::Endpoints::GetInvitationsCount.build(context)
|
145
|
-
when :get_malware_protection_plan
|
146
|
-
Aws::GuardDuty::Endpoints::GetMalwareProtectionPlan.build(context)
|
147
|
-
when :get_malware_scan_settings
|
148
|
-
Aws::GuardDuty::Endpoints::GetMalwareScanSettings.build(context)
|
149
|
-
when :get_master_account
|
150
|
-
Aws::GuardDuty::Endpoints::GetMasterAccount.build(context)
|
151
|
-
when :get_member_detectors
|
152
|
-
Aws::GuardDuty::Endpoints::GetMemberDetectors.build(context)
|
153
|
-
when :get_members
|
154
|
-
Aws::GuardDuty::Endpoints::GetMembers.build(context)
|
155
|
-
when :get_organization_statistics
|
156
|
-
Aws::GuardDuty::Endpoints::GetOrganizationStatistics.build(context)
|
157
|
-
when :get_remaining_free_trial_days
|
158
|
-
Aws::GuardDuty::Endpoints::GetRemainingFreeTrialDays.build(context)
|
159
|
-
when :get_threat_intel_set
|
160
|
-
Aws::GuardDuty::Endpoints::GetThreatIntelSet.build(context)
|
161
|
-
when :get_usage_statistics
|
162
|
-
Aws::GuardDuty::Endpoints::GetUsageStatistics.build(context)
|
163
|
-
when :invite_members
|
164
|
-
Aws::GuardDuty::Endpoints::InviteMembers.build(context)
|
165
|
-
when :list_coverage
|
166
|
-
Aws::GuardDuty::Endpoints::ListCoverage.build(context)
|
167
|
-
when :list_detectors
|
168
|
-
Aws::GuardDuty::Endpoints::ListDetectors.build(context)
|
169
|
-
when :list_filters
|
170
|
-
Aws::GuardDuty::Endpoints::ListFilters.build(context)
|
171
|
-
when :list_findings
|
172
|
-
Aws::GuardDuty::Endpoints::ListFindings.build(context)
|
173
|
-
when :list_ip_sets
|
174
|
-
Aws::GuardDuty::Endpoints::ListIPSets.build(context)
|
175
|
-
when :list_invitations
|
176
|
-
Aws::GuardDuty::Endpoints::ListInvitations.build(context)
|
177
|
-
when :list_malware_protection_plans
|
178
|
-
Aws::GuardDuty::Endpoints::ListMalwareProtectionPlans.build(context)
|
179
|
-
when :list_members
|
180
|
-
Aws::GuardDuty::Endpoints::ListMembers.build(context)
|
181
|
-
when :list_organization_admin_accounts
|
182
|
-
Aws::GuardDuty::Endpoints::ListOrganizationAdminAccounts.build(context)
|
183
|
-
when :list_publishing_destinations
|
184
|
-
Aws::GuardDuty::Endpoints::ListPublishingDestinations.build(context)
|
185
|
-
when :list_tags_for_resource
|
186
|
-
Aws::GuardDuty::Endpoints::ListTagsForResource.build(context)
|
187
|
-
when :list_threat_intel_sets
|
188
|
-
Aws::GuardDuty::Endpoints::ListThreatIntelSets.build(context)
|
189
|
-
when :start_malware_scan
|
190
|
-
Aws::GuardDuty::Endpoints::StartMalwareScan.build(context)
|
191
|
-
when :start_monitoring_members
|
192
|
-
Aws::GuardDuty::Endpoints::StartMonitoringMembers.build(context)
|
193
|
-
when :stop_monitoring_members
|
194
|
-
Aws::GuardDuty::Endpoints::StopMonitoringMembers.build(context)
|
195
|
-
when :tag_resource
|
196
|
-
Aws::GuardDuty::Endpoints::TagResource.build(context)
|
197
|
-
when :unarchive_findings
|
198
|
-
Aws::GuardDuty::Endpoints::UnarchiveFindings.build(context)
|
199
|
-
when :untag_resource
|
200
|
-
Aws::GuardDuty::Endpoints::UntagResource.build(context)
|
201
|
-
when :update_detector
|
202
|
-
Aws::GuardDuty::Endpoints::UpdateDetector.build(context)
|
203
|
-
when :update_filter
|
204
|
-
Aws::GuardDuty::Endpoints::UpdateFilter.build(context)
|
205
|
-
when :update_findings_feedback
|
206
|
-
Aws::GuardDuty::Endpoints::UpdateFindingsFeedback.build(context)
|
207
|
-
when :update_ip_set
|
208
|
-
Aws::GuardDuty::Endpoints::UpdateIPSet.build(context)
|
209
|
-
when :update_malware_protection_plan
|
210
|
-
Aws::GuardDuty::Endpoints::UpdateMalwareProtectionPlan.build(context)
|
211
|
-
when :update_malware_scan_settings
|
212
|
-
Aws::GuardDuty::Endpoints::UpdateMalwareScanSettings.build(context)
|
213
|
-
when :update_member_detectors
|
214
|
-
Aws::GuardDuty::Endpoints::UpdateMemberDetectors.build(context)
|
215
|
-
when :update_organization_configuration
|
216
|
-
Aws::GuardDuty::Endpoints::UpdateOrganizationConfiguration.build(context)
|
217
|
-
when :update_publishing_destination
|
218
|
-
Aws::GuardDuty::Endpoints::UpdatePublishingDestination.build(context)
|
219
|
-
when :update_threat_intel_set
|
220
|
-
Aws::GuardDuty::Endpoints::UpdateThreatIntelSet.build(context)
|
221
|
-
end
|
222
|
-
end
|
223
70
|
end
|
224
71
|
|
225
72
|
def add_handlers(handlers, _config)
|