aws-sdk-apiportal 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.
data/sig/types.rbs ADDED
@@ -0,0 +1,1003 @@
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/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::APIPortal
9
+ module Types
10
+
11
+ class ACMManaged
12
+ attr_accessor domain_name: ::String
13
+ attr_accessor certificate_arn: ::String
14
+ SENSITIVE: []
15
+ end
16
+
17
+ class AccessDeniedException
18
+ attr_accessor message: ::String
19
+ SENSITIVE: []
20
+ end
21
+
22
+ class ApiId
23
+ attr_accessor identifier_parts: Types::IdentifierParts
24
+ SENSITIVE: []
25
+ end
26
+
27
+ class ApiInventoryFilters
28
+ attr_accessor discovery_source: ("API_GATEWAY" | "ELB" | "CLOUDFRONT")
29
+ attr_accessor resource_arn: ::String
30
+ SENSITIVE: []
31
+ end
32
+
33
+ class ApiInventoryItem
34
+ attr_accessor method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "ANY" | "HEAD" | "OPTIONS")
35
+ attr_accessor host: ::String
36
+ attr_accessor port: ::Integer
37
+ attr_accessor path: ::String
38
+ attr_accessor account_id: ::String
39
+ attr_accessor resource_arn: ::String
40
+ attr_accessor region: ::String
41
+ attr_accessor discovery_source: ("API_GATEWAY" | "ELB" | "CLOUDFRONT")
42
+ attr_accessor first_seen: ::Time
43
+ attr_accessor last_seen: ::Time
44
+ attr_accessor visibility: ("PUBLIC" | "PRIVATE")
45
+ attr_accessor waf_status: ("ENABLED" | "DISABLED")
46
+ attr_accessor classification: ("SHADOW" | "MANAGED" | "MANAGED_ZOMBIE" | "MANAGED_ORPHANED")
47
+ attr_accessor managed_by: ("SELF" | "ORGANIZATION")
48
+ attr_accessor workloads: ::Array[("MCP" | "LLM" | "A2A")]
49
+ SENSITIVE: []
50
+ end
51
+
52
+ class ApiInventoryItemDetail
53
+ attr_accessor method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "ANY" | "HEAD" | "OPTIONS")
54
+ attr_accessor host: ::String
55
+ attr_accessor port: ::Integer
56
+ attr_accessor path: ::String
57
+ attr_accessor account_id: ::String
58
+ attr_accessor resource_arn: ::String
59
+ attr_accessor region: ::String
60
+ attr_accessor discovery_source: ("API_GATEWAY" | "ELB" | "CLOUDFRONT")
61
+ attr_accessor visibility: ("PUBLIC" | "PRIVATE")
62
+ attr_accessor waf_status: ("ENABLED" | "DISABLED")
63
+ attr_accessor classification: ("SHADOW" | "MANAGED" | "MANAGED_ZOMBIE" | "MANAGED_ORPHANED")
64
+ attr_accessor managed_by: ("SELF" | "ORGANIZATION")
65
+ attr_accessor workloads: ::Array[("MCP" | "LLM" | "A2A")]
66
+ attr_accessor managed_api_id: ::String
67
+ SENSITIVE: []
68
+ end
69
+
70
+ class ApiPageDisplayContent
71
+ attr_accessor none: Types::None
72
+ attr_accessor overrides: Types::DisplayContentOverrides
73
+ attr_accessor unknown: untyped
74
+ SENSITIVE: []
75
+
76
+ class None < ApiPageDisplayContent
77
+ end
78
+ class Overrides < ApiPageDisplayContent
79
+ end
80
+ class Unknown < ApiPageDisplayContent
81
+ end
82
+ end
83
+
84
+ class ApiPageDisplayContentResponse
85
+ attr_accessor operation_name: ::String
86
+ attr_accessor api_url: ::String
87
+ attr_accessor body: ::String
88
+ SENSITIVE: []
89
+ end
90
+
91
+ class ApiSelectionConfiguration
92
+ attr_accessor api_selection_mode: ("CUSTOM" | "RULE_BASED")
93
+ attr_accessor rule_filters: ::Array[Types::RuleFilter]
94
+ SENSITIVE: []
95
+ end
96
+
97
+ class ApiSignature
98
+ attr_accessor resource_arn: ::String
99
+ attr_accessor method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "ANY" | "HEAD" | "OPTIONS")
100
+ attr_accessor hostname: ::String
101
+ attr_accessor port: ::Integer
102
+ attr_accessor path: ::String
103
+ SENSITIVE: []
104
+ end
105
+
106
+ class AssociateManagedApisRequest
107
+ attr_accessor product_id: ::String
108
+ attr_accessor managed_api_ids: ::Array[::String]
109
+ SENSITIVE: []
110
+ end
111
+
112
+ class AssociateManagedApisResponse
113
+ attr_accessor failed_items: ::Array[Types::FailedManagedApiItem]
114
+ SENSITIVE: []
115
+ end
116
+
117
+ class Authorization
118
+ attr_accessor authorization_config: Types::AuthorizationConfig
119
+ attr_accessor fine_grained_access_control: ("ENABLED" | "DISABLED")
120
+ SENSITIVE: []
121
+ end
122
+
123
+ class AuthorizationConfig
124
+ attr_accessor none: Types::None
125
+ attr_accessor cognito_config: Types::CognitoConfig
126
+ attr_accessor unknown: untyped
127
+ SENSITIVE: []
128
+
129
+ class None < AuthorizationConfig
130
+ end
131
+ class CognitoConfig < AuthorizationConfig
132
+ end
133
+ class Unknown < AuthorizationConfig
134
+ end
135
+ end
136
+
137
+ class BadRequestException
138
+ attr_accessor message: ::String
139
+ SENSITIVE: []
140
+ end
141
+
142
+ class CognitoConfig
143
+ attr_accessor user_pool_arn: ::String
144
+ attr_accessor app_client_id: ::String
145
+ attr_accessor user_pool_domain: ::String
146
+ attr_accessor identity_pool_id: ::String
147
+ SENSITIVE: []
148
+ end
149
+
150
+ class ConflictException
151
+ attr_accessor message: ::String
152
+ SENSITIVE: []
153
+ end
154
+
155
+ class CreateManagedApiRequest
156
+ attr_accessor api_signature: Types::ApiSignature
157
+ attr_accessor tags: ::Hash[::String, ::String]
158
+ SENSITIVE: []
159
+ end
160
+
161
+ class CreateManagedApiResponse
162
+ attr_accessor managed_api_id: ::String
163
+ attr_accessor managed_api_arn: ::String
164
+ attr_accessor api_signature: Types::ApiSignature
165
+ attr_accessor created_at: ::Time
166
+ attr_accessor updated_at: ::Time
167
+ attr_accessor tags: ::Hash[::String, ::String]
168
+ SENSITIVE: []
169
+ end
170
+
171
+ class CreatePortalPreviewRequest
172
+ attr_accessor portal_id: ::String
173
+ SENSITIVE: []
174
+ end
175
+
176
+ class CreatePortalRequest
177
+ attr_accessor portal_content: Types::PortalContent
178
+ attr_accessor endpoint_configuration: Types::EndpointConfigurationRequest
179
+ attr_accessor authorization: Types::Authorization
180
+ attr_accessor included_product_arns: ::Array[::String]
181
+ attr_accessor logo_uri: ::String
182
+ attr_accessor rum_app_monitor_name: ::String
183
+ attr_accessor tags: ::Hash[::String, ::String]
184
+ SENSITIVE: []
185
+ end
186
+
187
+ class CreatePortalResponse
188
+ attr_accessor portal_id: ::String
189
+ attr_accessor portal_arn: ::String
190
+ attr_accessor endpoint_configuration: Types::EndpointConfigurationResponse
191
+ attr_accessor authorization: Types::Authorization
192
+ attr_accessor portal_content: Types::PortalContent
193
+ attr_accessor included_product_arns: ::Array[::String]
194
+ attr_accessor publish_status: ("PUBLISHED" | "PUBLISH_IN_PROGRESS" | "PUBLISH_FAILED" | "DISABLE_IN_PROGRESS" | "DISABLE_FAILED" | "DISABLED")
195
+ attr_accessor status_exception: Types::PortalStatusException
196
+ attr_accessor updated_at: ::Time
197
+ attr_accessor published_at: ::Time
198
+ attr_accessor publish_description: ::String
199
+ attr_accessor rum_app_monitor_name: ::String
200
+ attr_accessor tags: ::Hash[::String, ::String]
201
+ SENSITIVE: []
202
+ end
203
+
204
+ class CreateProductApiPageRequest
205
+ attr_accessor product_id: ::String
206
+ attr_accessor managed_api_id: ::String
207
+ attr_accessor display_content: Types::ApiPageDisplayContent
208
+ attr_accessor try_it_state: ("ENABLED" | "DISABLED")
209
+ attr_accessor tags: ::Hash[::String, ::String]
210
+ SENSITIVE: []
211
+ end
212
+
213
+ class CreateProductApiPageResponse
214
+ attr_accessor product_api_page_id: ::String
215
+ attr_accessor product_api_page_arn: ::String
216
+ attr_accessor api_id: Types::ApiId
217
+ attr_accessor display_content: Types::ApiPageDisplayContentResponse
218
+ attr_accessor try_it_state: ("ENABLED" | "DISABLED")
219
+ attr_accessor updated_at: ::Time
220
+ attr_accessor status: ("AVAILABLE" | "IN_PROGRESS" | "FAILED")
221
+ attr_accessor status_exception: Types::ProductApiPageStatusException
222
+ attr_accessor tags: ::Hash[::String, ::String]
223
+ SENSITIVE: []
224
+ end
225
+
226
+ class CreateProductPageRequest
227
+ attr_accessor product_id: ::String
228
+ attr_accessor display_content: Types::DisplayContent
229
+ attr_accessor tags: ::Hash[::String, ::String]
230
+ SENSITIVE: []
231
+ end
232
+
233
+ class CreateProductPageResponse
234
+ attr_accessor product_page_id: ::String
235
+ attr_accessor product_page_arn: ::String
236
+ attr_accessor display_content: Types::DisplayContent
237
+ attr_accessor updated_at: ::Time
238
+ attr_accessor tags: ::Hash[::String, ::String]
239
+ SENSITIVE: []
240
+ end
241
+
242
+ class CreateProductRequest
243
+ attr_accessor display_name: ::String
244
+ attr_accessor description: ::String
245
+ attr_accessor tags: ::Hash[::String, ::String]
246
+ attr_accessor api_selection_configuration: Types::ApiSelectionConfiguration
247
+ SENSITIVE: []
248
+ end
249
+
250
+ class CreateProductResponse
251
+ attr_accessor product_id: ::String
252
+ attr_accessor product_arn: ::String
253
+ attr_accessor display_name: ::String
254
+ attr_accessor display_order: Types::DisplayOrder
255
+ attr_accessor description: ::String
256
+ attr_accessor updated_at: ::Time
257
+ attr_accessor tags: ::Hash[::String, ::String]
258
+ attr_accessor api_selection_configuration: Types::ApiSelectionConfiguration
259
+ attr_accessor status: ("ACTIVE" | "IN_PROGRESS" | "FAILED")
260
+ attr_accessor failure_reason: ("API_PAGE_ATTACHED" | "EVALUATION_ERROR")
261
+ SENSITIVE: []
262
+ end
263
+
264
+ class CustomColors
265
+ attr_accessor background_color: ::String
266
+ attr_accessor navigation_color: ::String
267
+ attr_accessor header_color: ::String
268
+ attr_accessor text_color: ::String
269
+ attr_accessor accent_color: ::String
270
+ attr_accessor error_validation_color: ::String
271
+ SENSITIVE: []
272
+ end
273
+
274
+ class DeleteDiscoveryConfigurationRequest < Aws::EmptyStructure
275
+ end
276
+
277
+ class DeleteManagedApiRequest
278
+ attr_accessor managed_api_id: ::String
279
+ SENSITIVE: []
280
+ end
281
+
282
+ class DeleteManagedApiResponse < Aws::EmptyStructure
283
+ end
284
+
285
+ class DeleteOrganizationDiscoveryConfigurationRequest < Aws::EmptyStructure
286
+ end
287
+
288
+ class DeletePortalRequest
289
+ attr_accessor portal_id: ::String
290
+ SENSITIVE: []
291
+ end
292
+
293
+ class DeleteProductApiPageRequest
294
+ attr_accessor product_id: ::String
295
+ attr_accessor product_api_page_id: ::String
296
+ SENSITIVE: []
297
+ end
298
+
299
+ class DeleteProductPageRequest
300
+ attr_accessor product_id: ::String
301
+ attr_accessor product_page_id: ::String
302
+ SENSITIVE: []
303
+ end
304
+
305
+ class DeleteProductRequest
306
+ attr_accessor product_id: ::String
307
+ SENSITIVE: []
308
+ end
309
+
310
+ class DeleteProductSharingPolicyRequest
311
+ attr_accessor product_id: ::String
312
+ SENSITIVE: []
313
+ end
314
+
315
+ class DisassociateManagedApisRequest
316
+ attr_accessor product_id: ::String
317
+ attr_accessor managed_api_ids: ::Array[::String]
318
+ SENSITIVE: []
319
+ end
320
+
321
+ class DisassociateManagedApisResponse
322
+ attr_accessor failed_items: ::Array[Types::FailedManagedApiItem]
323
+ SENSITIVE: []
324
+ end
325
+
326
+ class DiscoveryConfigurationData
327
+ attr_accessor arn: ::String
328
+ attr_accessor status: ("DISABLED" | "ENABLED" | "UPDATING")
329
+ attr_accessor discovery_sources: ::Array[("API_GATEWAY" | "ELB" | "CLOUDFRONT")]
330
+ attr_accessor excluded_resources: ::Array[::String]
331
+ attr_accessor features: ::Array[("AI_DISCOVERY")]
332
+ attr_accessor created_at: ::Time
333
+ attr_accessor updated_at: ::Time
334
+ SENSITIVE: []
335
+ end
336
+
337
+ class DiscoveryExclusionFilters
338
+ attr_accessor organizational_unit_ids: ::Array[::String]
339
+ attr_accessor account_ids: ::Array[::String]
340
+ attr_accessor resource_arns: ::Array[::String]
341
+ SENSITIVE: []
342
+ end
343
+
344
+ class DiscoveryInclusionFilters
345
+ attr_accessor organizational_unit_ids: ::Array[::String]
346
+ attr_accessor account_ids: ::Array[::String]
347
+ SENSITIVE: []
348
+ end
349
+
350
+ class DiscoveryStatus
351
+ attr_accessor account_id: ::String
352
+ attr_accessor discovery_source: ("API_GATEWAY" | "ELB" | "CLOUDFRONT")
353
+ attr_accessor status: ("STOPPED" | "PROVISIONING" | "RUNNING" | "FAILED")
354
+ attr_accessor failure_reason: ("ACCESS_DENIED" | "DEPENDENCY_ERROR" | "THROTTLED" | "INVALID_CONFIGURATION" | "INTERNAL_ERROR")
355
+ SENSITIVE: []
356
+ end
357
+
358
+ class DisplayContent
359
+ attr_accessor title: ::String
360
+ attr_accessor body: ::String
361
+ SENSITIVE: []
362
+ end
363
+
364
+ class DisplayContentOverrides
365
+ attr_accessor operation_name: ::String
366
+ attr_accessor api_url: ::String
367
+ attr_accessor body: ::String
368
+ SENSITIVE: []
369
+ end
370
+
371
+ class DisplayOrder
372
+ attr_accessor overview_page_arn: ::String
373
+ attr_accessor product_page_arns: ::Array[::String]
374
+ attr_accessor contents: ::Array[Types::Section]
375
+ SENSITIVE: []
376
+ end
377
+
378
+ class EndpointConfigurationRequest
379
+ attr_accessor none: Types::None
380
+ attr_accessor acm_managed: Types::ACMManaged
381
+ attr_accessor unknown: untyped
382
+ SENSITIVE: []
383
+
384
+ class None < EndpointConfigurationRequest
385
+ end
386
+ class AcmManaged < EndpointConfigurationRequest
387
+ end
388
+ class Unknown < EndpointConfigurationRequest
389
+ end
390
+ end
391
+
392
+ class EndpointConfigurationResponse
393
+ attr_accessor domain_name: ::String
394
+ attr_accessor certificate_arn: ::String
395
+ attr_accessor portal_domain_hosted_zone_id: ::String
396
+ attr_accessor portal_default_domain_name: ::String
397
+ SENSITIVE: []
398
+ end
399
+
400
+ class FailedManagedApiItem
401
+ attr_accessor managed_api_id: ::String
402
+ attr_accessor error_code: ("MANAGED_API_NOT_FOUND" | "INTERNAL_ERROR")
403
+ attr_accessor error_message: ::String
404
+ SENSITIVE: []
405
+ end
406
+
407
+ class GetApiInventoryItemRequest
408
+ attr_accessor method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "ANY" | "HEAD" | "OPTIONS")
409
+ attr_accessor host: ::String
410
+ attr_accessor port: ::Integer
411
+ attr_accessor path: ::String
412
+ attr_accessor resource_arn: ::String
413
+ SENSITIVE: []
414
+ end
415
+
416
+ class GetApiInventoryItemResponse
417
+ attr_accessor item: Types::ApiInventoryItemDetail
418
+ SENSITIVE: []
419
+ end
420
+
421
+ class GetDiscoveryConfigurationRequest < Aws::EmptyStructure
422
+ end
423
+
424
+ class GetDiscoveryConfigurationResponse
425
+ attr_accessor discovery_configuration: Types::DiscoveryConfigurationData
426
+ attr_accessor tags: ::Hash[::String, ::String]
427
+ SENSITIVE: []
428
+ end
429
+
430
+ class GetManagedApiRequest
431
+ attr_accessor managed_api_id: ::String
432
+ SENSITIVE: []
433
+ end
434
+
435
+ class GetManagedApiResponse
436
+ attr_accessor managed_api_id: ::String
437
+ attr_accessor managed_api_arn: ::String
438
+ attr_accessor api_signature: Types::ApiSignature
439
+ attr_accessor created_at: ::Time
440
+ attr_accessor updated_at: ::Time
441
+ attr_accessor findings: ::Array[Types::ManagedApiFinding]
442
+ attr_accessor tags: ::Hash[::String, ::String]
443
+ SENSITIVE: []
444
+ end
445
+
446
+ class GetOrganizationDiscoveryConfigurationRequest < Aws::EmptyStructure
447
+ end
448
+
449
+ class GetOrganizationDiscoveryConfigurationResponse
450
+ attr_accessor discovery_configuration: Types::OrganizationDiscoveryConfigurationData
451
+ attr_accessor tags: ::Hash[::String, ::String]
452
+ SENSITIVE: []
453
+ end
454
+
455
+ class GetPortalRequest
456
+ attr_accessor portal_id: ::String
457
+ SENSITIVE: []
458
+ end
459
+
460
+ class GetPortalResponse
461
+ attr_accessor portal_id: ::String
462
+ attr_accessor portal_arn: ::String
463
+ attr_accessor endpoint_configuration: Types::EndpointConfigurationResponse
464
+ attr_accessor authorization: Types::Authorization
465
+ attr_accessor portal_content: Types::PortalContent
466
+ attr_accessor included_product_arns: ::Array[::String]
467
+ attr_accessor publish_status: ("PUBLISHED" | "PUBLISH_IN_PROGRESS" | "PUBLISH_FAILED" | "DISABLE_IN_PROGRESS" | "DISABLE_FAILED" | "DISABLED")
468
+ attr_accessor status_exception: Types::PortalStatusException
469
+ attr_accessor updated_at: ::Time
470
+ attr_accessor published_at: ::Time
471
+ attr_accessor publish_description: ::String
472
+ attr_accessor rum_app_monitor_name: ::String
473
+ attr_accessor preview: Types::Preview
474
+ attr_accessor tags: ::Hash[::String, ::String]
475
+ SENSITIVE: []
476
+ end
477
+
478
+ class GetProductApiPageRequest
479
+ attr_accessor product_id: ::String
480
+ attr_accessor product_api_page_id: ::String
481
+ attr_accessor resource_owner_account_id: ::String
482
+ attr_accessor include_raw_display_content: bool
483
+ SENSITIVE: []
484
+ end
485
+
486
+ class GetProductApiPageResponse
487
+ attr_accessor product_api_page_id: ::String
488
+ attr_accessor product_api_page_arn: ::String
489
+ attr_accessor api_id: Types::ApiId
490
+ attr_accessor display_content: Types::ApiPageDisplayContentResponse
491
+ attr_accessor try_it_state: ("ENABLED" | "DISABLED")
492
+ attr_accessor updated_at: ::Time
493
+ attr_accessor status: ("AVAILABLE" | "IN_PROGRESS" | "FAILED")
494
+ attr_accessor raw_display_content: ::String
495
+ attr_accessor status_exception: Types::ProductApiPageStatusException
496
+ attr_accessor tags: ::Hash[::String, ::String]
497
+ SENSITIVE: []
498
+ end
499
+
500
+ class GetProductPageRequest
501
+ attr_accessor product_id: ::String
502
+ attr_accessor product_page_id: ::String
503
+ attr_accessor resource_owner_account_id: ::String
504
+ SENSITIVE: []
505
+ end
506
+
507
+ class GetProductPageResponse
508
+ attr_accessor product_page_id: ::String
509
+ attr_accessor product_page_arn: ::String
510
+ attr_accessor display_content: Types::DisplayContent
511
+ attr_accessor updated_at: ::Time
512
+ attr_accessor tags: ::Hash[::String, ::String]
513
+ SENSITIVE: []
514
+ end
515
+
516
+ class GetProductRequest
517
+ attr_accessor product_id: ::String
518
+ attr_accessor resource_owner_account_id: ::String
519
+ SENSITIVE: []
520
+ end
521
+
522
+ class GetProductResponse
523
+ attr_accessor product_id: ::String
524
+ attr_accessor product_arn: ::String
525
+ attr_accessor display_name: ::String
526
+ attr_accessor display_order: Types::DisplayOrder
527
+ attr_accessor description: ::String
528
+ attr_accessor updated_at: ::Time
529
+ attr_accessor tags: ::Hash[::String, ::String]
530
+ attr_accessor api_selection_configuration: Types::ApiSelectionConfiguration
531
+ attr_accessor status: ("ACTIVE" | "IN_PROGRESS" | "FAILED")
532
+ attr_accessor failure_reason: ("API_PAGE_ATTACHED" | "EVALUATION_ERROR")
533
+ SENSITIVE: []
534
+ end
535
+
536
+ class GetProductSharingPolicyRequest
537
+ attr_accessor product_id: ::String
538
+ SENSITIVE: []
539
+ end
540
+
541
+ class GetProductSharingPolicyResponse
542
+ attr_accessor product_id: ::String
543
+ attr_accessor policy_document: ::String
544
+ attr_accessor tags: ::Hash[::String, ::String]
545
+ SENSITIVE: []
546
+ end
547
+
548
+ class IdentifierParts
549
+ attr_accessor path: ::String
550
+ attr_accessor method: ::String
551
+ attr_accessor resource_arn: ::String
552
+ SENSITIVE: []
553
+ end
554
+
555
+ class InternalServerException
556
+ attr_accessor message: ::String
557
+ SENSITIVE: []
558
+ end
559
+
560
+ class LimitExceededException
561
+ attr_accessor message: ::String
562
+ SENSITIVE: []
563
+ end
564
+
565
+ class ListApiInventoryItemsRequest
566
+ attr_accessor filters: Types::ApiInventoryFilters
567
+ attr_accessor max_results: ::Integer
568
+ attr_accessor next_token: ::String
569
+ SENSITIVE: []
570
+ end
571
+
572
+ class ListApiInventoryItemsResponse
573
+ attr_accessor items: ::Array[Types::ApiInventoryItem]
574
+ attr_accessor next_token: ::String
575
+ SENSITIVE: []
576
+ end
577
+
578
+ class ListDiscoveryStatusesRequest
579
+ attr_accessor discovery_source: ("API_GATEWAY" | "ELB" | "CLOUDFRONT")
580
+ attr_accessor max_results: ::Integer
581
+ attr_accessor next_token: ::String
582
+ SENSITIVE: []
583
+ end
584
+
585
+ class ListDiscoveryStatusesResponse
586
+ attr_accessor items: ::Array[Types::DiscoveryStatus]
587
+ attr_accessor next_token: ::String
588
+ SENSITIVE: []
589
+ end
590
+
591
+ class ListManagedApiEventsRequest
592
+ attr_accessor managed_api_id: ::String
593
+ attr_accessor started_after: ::Time
594
+ attr_accessor started_before: ::Time
595
+ attr_accessor max_results: ::Integer
596
+ attr_accessor next_token: ::String
597
+ SENSITIVE: []
598
+ end
599
+
600
+ class ListManagedApiEventsResponse
601
+ attr_accessor items: ::Array[Types::ManagedApiEventSummary]
602
+ attr_accessor next_token: ::String
603
+ SENSITIVE: []
604
+ end
605
+
606
+ class ListManagedApisRequest
607
+ attr_accessor max_results: ::Integer
608
+ attr_accessor next_token: ::String
609
+ attr_accessor product_id: ::String
610
+ SENSITIVE: []
611
+ end
612
+
613
+ class ListManagedApisResponse
614
+ attr_accessor next_token: ::String
615
+ attr_accessor items: ::Array[Types::ManagedApiSummary]
616
+ SENSITIVE: []
617
+ end
618
+
619
+ class ListPortalsRequest
620
+ attr_accessor max_results: ::Integer
621
+ attr_accessor next_token: ::String
622
+ SENSITIVE: []
623
+ end
624
+
625
+ class ListPortalsResponse
626
+ attr_accessor items: ::Array[Types::PortalSummary]
627
+ attr_accessor next_token: ::String
628
+ SENSITIVE: []
629
+ end
630
+
631
+ class ListProductApiPagesRequest
632
+ attr_accessor product_id: ::String
633
+ attr_accessor next_token: ::String
634
+ attr_accessor max_results: ::Integer
635
+ attr_accessor resource_owner_account_id: ::String
636
+ SENSITIVE: []
637
+ end
638
+
639
+ class ListProductApiPagesResponse
640
+ attr_accessor next_token: ::String
641
+ attr_accessor items: ::Array[Types::ProductApiPageSummaryNoBody]
642
+ SENSITIVE: []
643
+ end
644
+
645
+ class ListProductPagesRequest
646
+ attr_accessor product_id: ::String
647
+ attr_accessor next_token: ::String
648
+ attr_accessor max_results: ::Integer
649
+ attr_accessor resource_owner_account_id: ::String
650
+ SENSITIVE: []
651
+ end
652
+
653
+ class ListProductPagesResponse
654
+ attr_accessor next_token: ::String
655
+ attr_accessor items: ::Array[Types::ProductPageSummaryNoBody]
656
+ SENSITIVE: []
657
+ end
658
+
659
+ class ListProductsRequest
660
+ attr_accessor max_results: ::Integer
661
+ attr_accessor next_token: ::String
662
+ attr_accessor resource_owner: ("ALL" | "SELF" | "OTHER_ACCOUNTS")
663
+ attr_accessor managed_api_id: ::String
664
+ SENSITIVE: []
665
+ end
666
+
667
+ class ListProductsResponse
668
+ attr_accessor next_token: ::String
669
+ attr_accessor items: ::Array[Types::ProductSummary]
670
+ SENSITIVE: []
671
+ end
672
+
673
+ class ListTagsForResourceRequest
674
+ attr_accessor resource_arn: ::String
675
+ SENSITIVE: []
676
+ end
677
+
678
+ class ListTagsForResourceResponse
679
+ attr_accessor tags: ::Hash[::String, ::String]
680
+ SENSITIVE: []
681
+ end
682
+
683
+ class ManagedApiEventSummary
684
+ attr_accessor event_id: ::String
685
+ attr_accessor event_type: ("WAF_API_SECURITY")
686
+ attr_accessor status: ("EVENT_STARTED" | "EVENT_IN_PROGRESS" | "EVENT_ENDED")
687
+ attr_accessor waf_api_security_event_detail: Types::WafApiSecurityEventDetail
688
+ attr_accessor started_at: ::Time
689
+ attr_accessor ended_at: ::Time
690
+ attr_accessor updated_at: ::Time
691
+ SENSITIVE: []
692
+ end
693
+
694
+ class ManagedApiFinding
695
+ attr_accessor posture_id: ::String
696
+ attr_accessor posture_status: ("TRUE" | "FALSE" | "NOT_APPLICABLE" | "INSUFFICIENT_DATA")
697
+ attr_accessor reason: ("AUTHENTICATION_NOT_CONFIGURED" | "REQUEST_VALIDATION_NOT_ENABLED" | "API_KEY_NOT_CONFIGURED" | "THROTTLING_NOT_ENABLED" | "THROTTLING_RATE_LIMIT_NOT_SET" | "THROTTLING_BURST_LIMIT_NOT_SET" | "RESPONSE_CACHING_NOT_ENABLED" | "STAGE_WAF_NOT_ASSOCIATED" | "STAGE_ACCESS_LOGGING_NOT_ENABLED" | "PRIVATE_API_RESOURCE_POLICY_MISSING" | "REST_API_TLS_BELOW_1_2" | "LOAD_BALANCER_WAF_NOT_ASSOCIATED" | "LISTENER_TLS_BELOW_1_2" | "DISTRIBUTION_TLS_BELOW_1_2" | "DISTRIBUTION_WAF_NOT_ASSOCIATED" | "DISTRIBUTION_SERVES_PLAINTEXT_HTTP" | "DISTRIBUTION_ACCESS_LOGGING_NOT_ENABLED" | "GEO_RESTRICTION_NOT_CONFIGURED" | "UNKNOWN")
698
+ attr_accessor updated_at: ::Time
699
+ SENSITIVE: []
700
+ end
701
+
702
+ class ManagedApiSummary
703
+ attr_accessor managed_api_id: ::String
704
+ attr_accessor managed_api_arn: ::String
705
+ attr_accessor api_signature: Types::ApiSignature
706
+ attr_accessor created_at: ::Time
707
+ attr_accessor updated_at: ::Time
708
+ SENSITIVE: []
709
+ end
710
+
711
+ class None < Aws::EmptyStructure
712
+ end
713
+
714
+ class OrganizationDiscoveryConfigurationData
715
+ attr_accessor arn: ::String
716
+ attr_accessor status: ("DISABLED" | "ENABLED" | "UPDATING")
717
+ attr_accessor discovery_sources: ::Array[("API_GATEWAY" | "ELB" | "CLOUDFRONT")]
718
+ attr_accessor exclusion_filters: Types::DiscoveryExclusionFilters
719
+ attr_accessor discovery_filters: Types::OrganizationDiscoveryFilters
720
+ attr_accessor features: ::Array[("AI_DISCOVERY")]
721
+ attr_accessor created_at: ::Time
722
+ attr_accessor updated_at: ::Time
723
+ SENSITIVE: []
724
+ end
725
+
726
+ class OrganizationDiscoveryFilters
727
+ attr_accessor exclusion_filters: Types::DiscoveryExclusionFilters
728
+ attr_accessor inclusion_filters: Types::DiscoveryInclusionFilters
729
+ attr_accessor unknown: untyped
730
+ SENSITIVE: []
731
+
732
+ class ExclusionFilters < OrganizationDiscoveryFilters
733
+ end
734
+ class InclusionFilters < OrganizationDiscoveryFilters
735
+ end
736
+ class Unknown < OrganizationDiscoveryFilters
737
+ end
738
+ end
739
+
740
+ class PortalContent
741
+ attr_accessor display_name: ::String
742
+ attr_accessor description: ::String
743
+ attr_accessor theme: Types::PortalTheme
744
+ SENSITIVE: []
745
+ end
746
+
747
+ class PortalStatusException
748
+ attr_accessor exception: ("INTERNAL_FAILURE" | "UNSHARED_PRODUCT_EXCEPTION" | "CLOUDFRONT_DOMAIN_IN_USE" | "MISSING_CLOUDFRONT_PERMISSIONS")
749
+ attr_accessor message: ::String
750
+ SENSITIVE: []
751
+ end
752
+
753
+ class PortalSummary
754
+ attr_accessor portal_id: ::String
755
+ attr_accessor portal_arn: ::String
756
+ attr_accessor endpoint_configuration: Types::EndpointConfigurationResponse
757
+ attr_accessor authorization: Types::Authorization
758
+ attr_accessor portal_content: Types::PortalContent
759
+ attr_accessor included_product_arns: ::Array[::String]
760
+ attr_accessor publish_status: ("PUBLISHED" | "PUBLISH_IN_PROGRESS" | "PUBLISH_FAILED" | "DISABLE_IN_PROGRESS" | "DISABLE_FAILED" | "DISABLED")
761
+ attr_accessor status_exception: Types::PortalStatusException
762
+ attr_accessor updated_at: ::Time
763
+ attr_accessor published_at: ::Time
764
+ attr_accessor publish_description: ::String
765
+ attr_accessor rum_app_monitor_name: ::String
766
+ attr_accessor preview: Types::Preview
767
+ SENSITIVE: []
768
+ end
769
+
770
+ class PortalTheme
771
+ attr_accessor custom_colors: Types::CustomColors
772
+ attr_accessor logo_uploaded_at: ::Time
773
+ SENSITIVE: []
774
+ end
775
+
776
+ class Preview
777
+ attr_accessor preview_status: ("PREVIEW_IN_PROGRESS" | "PREVIEW_FAILED" | "PREVIEW_READY")
778
+ attr_accessor status_exception: Types::PortalStatusException
779
+ attr_accessor preview_url: ::String
780
+ SENSITIVE: []
781
+ end
782
+
783
+ class ProductApiPageStatusException
784
+ attr_accessor exception: ("INTERNAL_FAILURE" | "RESOURCE_DELETED" | "MEMBER_LEFT_ORG")
785
+ attr_accessor message: ::String
786
+ SENSITIVE: []
787
+ end
788
+
789
+ class ProductApiPageSummaryNoBody
790
+ attr_accessor product_api_page_id: ::String
791
+ attr_accessor product_api_page_arn: ::String
792
+ attr_accessor api_id: Types::ApiId
793
+ attr_accessor operation_name: ::String
794
+ attr_accessor api_url: ::String
795
+ attr_accessor try_it_state: ("ENABLED" | "DISABLED")
796
+ attr_accessor updated_at: ::Time
797
+ attr_accessor status: ("AVAILABLE" | "IN_PROGRESS" | "FAILED")
798
+ attr_accessor status_exception: Types::ProductApiPageStatusException
799
+ SENSITIVE: []
800
+ end
801
+
802
+ class ProductPageSummaryNoBody
803
+ attr_accessor product_page_id: ::String
804
+ attr_accessor product_page_arn: ::String
805
+ attr_accessor page_title: ::String
806
+ attr_accessor updated_at: ::Time
807
+ SENSITIVE: []
808
+ end
809
+
810
+ class ProductSummary
811
+ attr_accessor product_id: ::String
812
+ attr_accessor product_arn: ::String
813
+ attr_accessor display_name: ::String
814
+ attr_accessor description: ::String
815
+ attr_accessor updated_at: ::Time
816
+ attr_accessor api_selection_configuration: Types::ApiSelectionConfiguration
817
+ attr_accessor status: ("ACTIVE" | "IN_PROGRESS" | "FAILED")
818
+ attr_accessor failure_reason: ("API_PAGE_ATTACHED" | "EVALUATION_ERROR")
819
+ SENSITIVE: []
820
+ end
821
+
822
+ class PutDiscoveryConfigurationRequest
823
+ attr_accessor discovery_sources: ::Array[("API_GATEWAY" | "ELB" | "CLOUDFRONT")]
824
+ attr_accessor excluded_resources: ::Array[::String]
825
+ attr_accessor features: ::Array[("AI_DISCOVERY")]
826
+ attr_accessor tags: ::Hash[::String, ::String]
827
+ SENSITIVE: []
828
+ end
829
+
830
+ class PutDiscoveryConfigurationResponse
831
+ attr_accessor discovery_configuration: Types::DiscoveryConfigurationData
832
+ attr_accessor tags: ::Hash[::String, ::String]
833
+ SENSITIVE: []
834
+ end
835
+
836
+ class PutOrganizationDiscoveryConfigurationRequest
837
+ attr_accessor discovery_sources: ::Array[("API_GATEWAY" | "ELB" | "CLOUDFRONT")]
838
+ attr_accessor exclusion_filters: Types::DiscoveryExclusionFilters
839
+ attr_accessor discovery_filters: Types::OrganizationDiscoveryFilters
840
+ attr_accessor features: ::Array[("AI_DISCOVERY")]
841
+ attr_accessor tags: ::Hash[::String, ::String]
842
+ SENSITIVE: []
843
+ end
844
+
845
+ class PutOrganizationDiscoveryConfigurationResponse
846
+ attr_accessor discovery_configuration: Types::OrganizationDiscoveryConfigurationData
847
+ attr_accessor tags: ::Hash[::String, ::String]
848
+ SENSITIVE: []
849
+ end
850
+
851
+ class PutProductSharingPolicyRequest
852
+ attr_accessor product_id: ::String
853
+ attr_accessor policy_document: ::String
854
+ attr_accessor tags: ::Hash[::String, ::String]
855
+ SENSITIVE: []
856
+ end
857
+
858
+ class ResourceNotFoundException
859
+ attr_accessor message: ::String
860
+ SENSITIVE: []
861
+ end
862
+
863
+ class RuleFilter
864
+ attr_accessor key: ("RESOURCE_ARN" | "HOST" | "METHOD" | "PATH" | "PORT" | "ACCOUNT")
865
+ attr_accessor values: ::Array[::String]
866
+ SENSITIVE: []
867
+ end
868
+
869
+ class Section
870
+ attr_accessor section_name: ::String
871
+ attr_accessor product_api_page_arns: ::Array[::String]
872
+ SENSITIVE: []
873
+ end
874
+
875
+ class StartDiscoveryRequest
876
+ attr_accessor id: ::String
877
+ SENSITIVE: []
878
+ end
879
+
880
+ class StopDiscoveryRequest
881
+ attr_accessor id: ::String
882
+ SENSITIVE: []
883
+ end
884
+
885
+ class TagResourceRequest
886
+ attr_accessor resource_arn: ::String
887
+ attr_accessor tags: ::Hash[::String, ::String]
888
+ SENSITIVE: []
889
+ end
890
+
891
+ class TagResourceResponse < Aws::EmptyStructure
892
+ end
893
+
894
+ class UntagResourceRequest
895
+ attr_accessor resource_arn: ::String
896
+ attr_accessor tag_keys: ::Array[::String]
897
+ SENSITIVE: []
898
+ end
899
+
900
+ class UntagResourceResponse < Aws::EmptyStructure
901
+ end
902
+
903
+ class UpdatePortalPublishStatusRequest
904
+ attr_accessor portal_id: ::String
905
+ attr_accessor status: ("PUBLISHED" | "DISABLED")
906
+ attr_accessor description: ::String
907
+ SENSITIVE: []
908
+ end
909
+
910
+ class UpdatePortalRequest
911
+ attr_accessor portal_id: ::String
912
+ attr_accessor portal_content: Types::PortalContent
913
+ attr_accessor endpoint_configuration: Types::EndpointConfigurationRequest
914
+ attr_accessor authorization: Types::Authorization
915
+ attr_accessor rum_app_monitor_name: ::String
916
+ attr_accessor included_product_arns: ::Array[::String]
917
+ attr_accessor logo_uri: ::String
918
+ SENSITIVE: []
919
+ end
920
+
921
+ class UpdatePortalResponse
922
+ attr_accessor portal_id: ::String
923
+ attr_accessor portal_arn: ::String
924
+ attr_accessor endpoint_configuration: Types::EndpointConfigurationResponse
925
+ attr_accessor authorization: Types::Authorization
926
+ attr_accessor portal_content: Types::PortalContent
927
+ attr_accessor included_product_arns: ::Array[::String]
928
+ attr_accessor publish_status: ("PUBLISHED" | "PUBLISH_IN_PROGRESS" | "PUBLISH_FAILED" | "DISABLE_IN_PROGRESS" | "DISABLE_FAILED" | "DISABLED")
929
+ attr_accessor status_exception: Types::PortalStatusException
930
+ attr_accessor updated_at: ::Time
931
+ attr_accessor published_at: ::Time
932
+ attr_accessor publish_description: ::String
933
+ attr_accessor rum_app_monitor_name: ::String
934
+ attr_accessor preview: Types::Preview
935
+ SENSITIVE: []
936
+ end
937
+
938
+ class UpdateProductApiPageRequest
939
+ attr_accessor product_id: ::String
940
+ attr_accessor product_api_page_id: ::String
941
+ attr_accessor display_content: Types::ApiPageDisplayContent
942
+ attr_accessor try_it_state: ("ENABLED" | "DISABLED")
943
+ SENSITIVE: []
944
+ end
945
+
946
+ class UpdateProductApiPageResponse
947
+ attr_accessor product_api_page_id: ::String
948
+ attr_accessor product_api_page_arn: ::String
949
+ attr_accessor api_id: Types::ApiId
950
+ attr_accessor display_content: Types::ApiPageDisplayContentResponse
951
+ attr_accessor try_it_state: ("ENABLED" | "DISABLED")
952
+ attr_accessor updated_at: ::Time
953
+ attr_accessor status: ("AVAILABLE" | "IN_PROGRESS" | "FAILED")
954
+ attr_accessor status_exception: Types::ProductApiPageStatusException
955
+ SENSITIVE: []
956
+ end
957
+
958
+ class UpdateProductPageRequest
959
+ attr_accessor product_id: ::String
960
+ attr_accessor product_page_id: ::String
961
+ attr_accessor display_content: Types::DisplayContent
962
+ SENSITIVE: []
963
+ end
964
+
965
+ class UpdateProductPageResponse
966
+ attr_accessor product_page_id: ::String
967
+ attr_accessor product_page_arn: ::String
968
+ attr_accessor display_content: Types::DisplayContent
969
+ attr_accessor updated_at: ::Time
970
+ SENSITIVE: []
971
+ end
972
+
973
+ class UpdateProductRequest
974
+ attr_accessor product_id: ::String
975
+ attr_accessor display_name: ::String
976
+ attr_accessor description: ::String
977
+ attr_accessor display_order: Types::DisplayOrder
978
+ attr_accessor api_selection_configuration: Types::ApiSelectionConfiguration
979
+ SENSITIVE: []
980
+ end
981
+
982
+ class UpdateProductResponse
983
+ attr_accessor product_id: ::String
984
+ attr_accessor product_arn: ::String
985
+ attr_accessor display_name: ::String
986
+ attr_accessor display_order: Types::DisplayOrder
987
+ attr_accessor description: ::String
988
+ attr_accessor updated_at: ::Time
989
+ attr_accessor api_selection_configuration: Types::ApiSelectionConfiguration
990
+ attr_accessor status: ("ACTIVE" | "IN_PROGRESS" | "FAILED")
991
+ attr_accessor failure_reason: ("API_PAGE_ATTACHED" | "EVALUATION_ERROR")
992
+ SENSITIVE: []
993
+ end
994
+
995
+ class WafApiSecurityEventDetail
996
+ attr_accessor label: ::String
997
+ attr_accessor category: ::String
998
+ attr_accessor confidence: ("LOW" | "MEDIUM" | "HIGH")
999
+ attr_accessor web_acl_arn: ::String
1000
+ SENSITIVE: []
1001
+ end
1002
+ end
1003
+ end