aws-sdk-acm 1.124.0 → 1.126.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.
@@ -23,6 +23,63 @@ module Aws::ACM
23
23
  include Aws::Structure
24
24
  end
25
25
 
26
+ # The accounts to collect from, selected by account ID, by
27
+ # organizational unit, or both. When Mode is INCLUDE or EXCLUDE,
28
+ # AccountIds or OrganizationalUnitIds must list at least one ID. An
29
+ # empty list counts as absent.
30
+ #
31
+ # @!attribute [rw] mode
32
+ # How AccountIds and OrganizationalUnitIds are applied.
33
+ # @return [String]
34
+ #
35
+ # @!attribute [rw] organizational_unit_ids
36
+ # The organizational units to include or exclude.
37
+ # @return [Array<String>]
38
+ #
39
+ # @!attribute [rw] account_ids
40
+ # The accounts to include or exclude.
41
+ # @return [Array<String>]
42
+ #
43
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/AccountScope AWS API Documentation
44
+ #
45
+ class AccountScope < Struct.new(
46
+ :mode,
47
+ :organizational_unit_ids,
48
+ :account_ids)
49
+ SENSITIVE = []
50
+ include Aws::Structure
51
+ end
52
+
53
+ # An ACM certificate ARN, and which of its certificates to match. An ACM
54
+ # certificate holds one certificate at a time, and a renewal or reimport
55
+ # replaces it.
56
+ #
57
+ # * CURRENT matches the certificate it holds now. This is the one
58
+ # ListInventoryRelatedResources reports with AssociationStatus
59
+ # CURRENT.
60
+ # * ANY matches every certificate it has held, including the current
61
+ # one.
62
+ #
63
+ # Both reflect the inventory as of its last update of each certificate.
64
+ # An ARN the inventory has not collected matches nothing.
65
+ #
66
+ # @!attribute [rw] value
67
+ # The ARN of the ACM certificate.
68
+ # @return [String]
69
+ #
70
+ # @!attribute [rw] match
71
+ # Which of the ACM certificate's certificates to match.
72
+ # @return [String]
73
+ #
74
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/AcmCertificateArnPredicate AWS API Documentation
75
+ #
76
+ class AcmCertificateArnPredicate < Struct.new(
77
+ :value,
78
+ :match)
79
+ SENSITIVE = []
80
+ include Aws::Structure
81
+ end
82
+
26
83
  # Contains ACM-specific metadata about a certificate.
27
84
  #
28
85
  # @!attribute [rw] created_at
@@ -247,6 +304,252 @@ module Aws::ACM
247
304
  class Unknown < AcmCertificateMetadataFilter; end
248
305
  end
249
306
 
307
+ # The certificate options a member operation can set: the Export and
308
+ # ValidationMethod options of the ACM CertificateOptions type. The ACM
309
+ # certificate transparency logging preference is not included. For
310
+ # details, see CertificateOptions in the AWS Certificate Manager API
311
+ # Reference.
312
+ #
313
+ # @!attribute [rw] export
314
+ # Whether the certificate can be exported. ACM decides whether this
315
+ # value can change. For details, see CertificateOptions in the AWS
316
+ # Certificate Manager API Reference.
317
+ # @return [String]
318
+ #
319
+ # @!attribute [rw] validation_method
320
+ # How ACM validates that the certificate's owner controls its
321
+ # domains.
322
+ # @return [String]
323
+ #
324
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/AcmCertificateOptions AWS API Documentation
325
+ #
326
+ class AcmCertificateOptions < Struct.new(
327
+ :export,
328
+ :validation_method)
329
+ SENSITIVE = []
330
+ include Aws::Structure
331
+ end
332
+
333
+ # What DescribeCertificate in AWS Certificate Manager (ACM) reported for
334
+ # an ACM certificate when the inventory read it. Members keep the names
335
+ # ACM uses in CertificateDetail. A member is absent when ACM did not
336
+ # report it in that read.
337
+ #
338
+ # Three members are named UpdatedAt. This structure's UpdatedAt is when
339
+ # the inventory read it. RenewalSummary.UpdatedAt and
340
+ # UpdateSummary.UpdatedAt are the times ACM reports for the renewal and
341
+ # the update.
342
+ #
343
+ # @!attribute [rw] updated_at
344
+ # When the inventory last read this from ACM, in UTC. This is the
345
+ # inventory's time, not a time ACM reports. The UpdatedAt members of
346
+ # RenewalSummary and UpdateSummary are times ACM reports.
347
+ # @return [Time]
348
+ #
349
+ # @!attribute [rw] domain_name
350
+ # ACM DomainName: the certificate's primary domain name.
351
+ # @return [String]
352
+ #
353
+ # @!attribute [rw] serial
354
+ # ACM Serial: the serial number of the certificate the ACM certificate
355
+ # holds.
356
+ # @return [String]
357
+ #
358
+ # @!attribute [rw] not_after
359
+ # ACM NotAfter: the end of the validity period of the certificate the
360
+ # ACM certificate holds.
361
+ # @return [Time]
362
+ #
363
+ # @!attribute [rw] status
364
+ # ACM Status: where the certificate is in its lifecycle. Some values
365
+ # might never appear here, because the inventory records only the
366
+ # certificates it tracks.
367
+ # @return [String]
368
+ #
369
+ # @!attribute [rw] type
370
+ # ACM Type: how ACM holds the certificate.
371
+ # @return [String]
372
+ #
373
+ # @!attribute [rw] in_use_by_count
374
+ # The number of AWS resources in the InUseBy list in ACM for this
375
+ # certificate, when the inventory last read it (see UpdatedAt). For
376
+ # the resources the inventory observed, use ListInventoryUsages. The
377
+ # two can differ.
378
+ # @return [Integer]
379
+ #
380
+ # @!attribute [rw] renewal_eligibility
381
+ # ACM RenewalEligibility: whether ACM can renew the certificate.
382
+ # @return [String]
383
+ #
384
+ # @!attribute [rw] renewal_summary
385
+ # ACM RenewalSummary, without its domain validation details. Present
386
+ # only when ACM reports a renewal.
387
+ # @return [Types::AcmRenewalSummary]
388
+ #
389
+ # @!attribute [rw] options
390
+ # ACM Options: the export and validation options.
391
+ # @return [Types::AcmMetadataCertificateOptions]
392
+ #
393
+ # @!attribute [rw] update_summary
394
+ # ACM UpdateSummary, without its domain validation details. It is the
395
+ # last requested change to the certificate, such as a new validation
396
+ # method. Present only when ACM reports one.
397
+ # @return [Types::AcmUpdateSummary]
398
+ #
399
+ # @!attribute [rw] certificate_key_pair_origin
400
+ # ACM CertificateKeyPairOrigin: where the certificate's key pair came
401
+ # from.
402
+ # @return [String]
403
+ #
404
+ # @!attribute [rw] managed_by
405
+ # ACM ManagedBy: the service that manages the certificate. Absent when
406
+ # no service manages it.
407
+ # @return [String]
408
+ #
409
+ # @!attribute [rw] created_at
410
+ # ACM CreatedAt: when the certificate was requested from ACM. Absent
411
+ # when ACM did not return it.
412
+ # @return [Time]
413
+ #
414
+ # @!attribute [rw] issued_at
415
+ # ACM IssuedAt: when ACM issued the certificate. Present only when
416
+ # Type is AMAZON\_ISSUED.
417
+ # @return [Time]
418
+ #
419
+ # @!attribute [rw] imported_at
420
+ # ACM ImportedAt: when the certificate was imported. Present only when
421
+ # Type is IMPORTED.
422
+ # @return [Time]
423
+ #
424
+ # @!attribute [rw] revoked_at
425
+ # ACM RevokedAt: when the certificate was revoked. Present only when
426
+ # Status is REVOKED.
427
+ # @return [Time]
428
+ #
429
+ # @!attribute [rw] revocation_reason
430
+ # ACM RevocationReason. Present only when Status is REVOKED.
431
+ # @return [String]
432
+ #
433
+ # @!attribute [rw] certificate_authority_arn
434
+ # ACM CertificateAuthorityArn: the AWS Private Certificate Authority
435
+ # (AWS Private CA) certificate authority that issued the certificate.
436
+ # Present only when Type is PRIVATE.
437
+ # @return [String]
438
+ #
439
+ # @!attribute [rw] acme_endpoint_arn
440
+ # The ACME endpoint ARN the certificate was issued through, when ACM
441
+ # issued it through ACME. Absent otherwise.
442
+ # @return [String]
443
+ #
444
+ # @!attribute [rw] acme_account_id
445
+ # The ACME account that requested the certificate, when ACM issued it
446
+ # through ACME. Absent otherwise.
447
+ # @return [String]
448
+ #
449
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/AcmMetadataCertificate AWS API Documentation
450
+ #
451
+ class AcmMetadataCertificate < Struct.new(
452
+ :updated_at,
453
+ :domain_name,
454
+ :serial,
455
+ :not_after,
456
+ :status,
457
+ :type,
458
+ :in_use_by_count,
459
+ :renewal_eligibility,
460
+ :renewal_summary,
461
+ :options,
462
+ :update_summary,
463
+ :certificate_key_pair_origin,
464
+ :managed_by,
465
+ :created_at,
466
+ :issued_at,
467
+ :imported_at,
468
+ :revoked_at,
469
+ :revocation_reason,
470
+ :certificate_authority_arn,
471
+ :acme_endpoint_arn,
472
+ :acme_account_id)
473
+ SENSITIVE = []
474
+ include Aws::Structure
475
+ end
476
+
477
+ # ACM Options: the certificate's export and validation options.
478
+ #
479
+ # @!attribute [rw] export
480
+ # ACM Export: whether the certificate can be exported.
481
+ # @return [String]
482
+ #
483
+ # @!attribute [rw] validation_method
484
+ # ACM ValidationMethod: how domain ownership is validated.
485
+ # @return [String]
486
+ #
487
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/AcmMetadataCertificateOptions AWS API Documentation
488
+ #
489
+ class AcmMetadataCertificateOptions < Struct.new(
490
+ :export,
491
+ :validation_method)
492
+ SENSITIVE = []
493
+ include Aws::Structure
494
+ end
495
+
496
+ # ACM RenewalSummary, without its domain validation details.
497
+ #
498
+ # @!attribute [rw] renewal_status
499
+ # ACM RenewalStatus: where the renewal is.
500
+ # @return [String]
501
+ #
502
+ # @!attribute [rw] renewal_status_reason
503
+ # ACM RenewalStatusReason: why the renewal failed. Present only when
504
+ # ACM reports one.
505
+ # @return [String]
506
+ #
507
+ # @!attribute [rw] updated_at
508
+ # ACM UpdatedAt: when the renewal status last changed, as ACM reports
509
+ # it. This is the time ACM reports, not when the inventory read it.
510
+ # @return [Time]
511
+ #
512
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/AcmRenewalSummary AWS API Documentation
513
+ #
514
+ class AcmRenewalSummary < Struct.new(
515
+ :renewal_status,
516
+ :renewal_status_reason,
517
+ :updated_at)
518
+ SENSITIVE = []
519
+ include Aws::Structure
520
+ end
521
+
522
+ # ACM UpdateSummary, without its domain validation details.
523
+ #
524
+ # @!attribute [rw] status
525
+ # ACM Status: where the update is.
526
+ # @return [String]
527
+ #
528
+ # @!attribute [rw] type
529
+ # ACM Type: what the update changes.
530
+ # @return [String]
531
+ #
532
+ # @!attribute [rw] requested_at
533
+ # ACM RequestedAt: when the update was requested.
534
+ # @return [Time]
535
+ #
536
+ # @!attribute [rw] updated_at
537
+ # ACM UpdatedAt: when the update's status last changed, as ACM
538
+ # reports it. This is the time ACM reports, not when the inventory
539
+ # read it.
540
+ # @return [Time]
541
+ #
542
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/AcmUpdateSummary AWS API Documentation
543
+ #
544
+ class AcmUpdateSummary < Struct.new(
545
+ :status,
546
+ :type,
547
+ :requested_at,
548
+ :updated_at)
549
+ SENSITIVE = []
550
+ include Aws::Structure
551
+ end
552
+
250
553
  # Contains detailed information about an ACME account.
251
554
  #
252
555
  # @!attribute [rw] account_url
@@ -682,6 +985,70 @@ module Aws::ACM
682
985
  include Aws::Structure
683
986
  end
684
987
 
988
+ # What a provider reported about a certificate it keeps renewed.
989
+ #
990
+ # @!attribute [rw] certificate_arn
991
+ # The ACM certificate ARN the provider keeps renewed.
992
+ # @return [String]
993
+ #
994
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/AgentAutomationDetail AWS API Documentation
995
+ #
996
+ class AgentAutomationDetail < Struct.new(
997
+ :certificate_arn)
998
+ SENSITIVE = []
999
+ include Aws::Structure
1000
+ end
1001
+
1002
+ # What a provider's discovery scan observed about a served certificate.
1003
+ #
1004
+ # @!attribute [rw] port
1005
+ # The TCP or UDP port the certificate was observed on.
1006
+ # @return [Integer]
1007
+ #
1008
+ # @!attribute [rw] server_name
1009
+ # The Server Name Indication (SNI) server name the certificate was
1010
+ # served for, when the provider reported one.
1011
+ # @return [String]
1012
+ #
1013
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/AgentDiscoveryDetail AWS API Documentation
1014
+ #
1015
+ class AgentDiscoveryDetail < Struct.new(
1016
+ :port,
1017
+ :server_name)
1018
+ SENSITIVE = []
1019
+ include Aws::Structure
1020
+ end
1021
+
1022
+ # Detail about a usage that a provider reported. Exactly one member is
1023
+ # set.
1024
+ #
1025
+ # @note AgentUsageDetail is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of AgentUsageDetail corresponding to the set member.
1026
+ #
1027
+ # @!attribute [rw] discovery
1028
+ # A usage the provider observed while it scanned a host for served
1029
+ # certificates.
1030
+ # @return [Types::AgentDiscoveryDetail]
1031
+ #
1032
+ # @!attribute [rw] automation
1033
+ # A usage the provider reported while it renewed one configured
1034
+ # certificate.
1035
+ # @return [Types::AgentAutomationDetail]
1036
+ #
1037
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/AgentUsageDetail AWS API Documentation
1038
+ #
1039
+ class AgentUsageDetail < Struct.new(
1040
+ :discovery,
1041
+ :automation,
1042
+ :unknown)
1043
+ SENSITIVE = []
1044
+ include Aws::Structure
1045
+ include Aws::Structure::Union
1046
+
1047
+ class Discovery < AgentUsageDetail; end
1048
+ class Automation < AgentUsageDetail; end
1049
+ class Unknown < AgentUsageDetail; end
1050
+ end
1051
+
685
1052
  # Defines the certificate authority to use for an ACME endpoint.
686
1053
  #
687
1054
  # @note CertificateAuthority is a union - when making an API calls you must set exactly one of the members.
@@ -1597,6 +1964,46 @@ module Aws::ACM
1597
1964
  include Aws::Structure
1598
1965
  end
1599
1966
 
1967
+ # @!attribute [rw] certificate_authority_arn
1968
+ # The ARN of the certificate authority to delete.
1969
+ # @return [String]
1970
+ #
1971
+ # @!attribute [rw] permanent_deletion_time_in_days
1972
+ # How many days the deleted certificate authority can be restored, 7
1973
+ # to 30. If you omit it, AWS Private Certificate Authority (AWS
1974
+ # Private CA) applies its default; see DeleteCertificateAuthority in
1975
+ # the AWS Private CA API Reference.
1976
+ # @return [Integer]
1977
+ #
1978
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DeleteMemberCertificateAuthorityInput AWS API Documentation
1979
+ #
1980
+ class DeleteMemberCertificateAuthorityInput < Struct.new(
1981
+ :certificate_authority_arn,
1982
+ :permanent_deletion_time_in_days)
1983
+ SENSITIVE = []
1984
+ include Aws::Structure
1985
+ end
1986
+
1987
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DeleteMemberCertificateAuthorityOutput AWS API Documentation
1988
+ #
1989
+ class DeleteMemberCertificateAuthorityOutput < Aws::EmptyStructure; end
1990
+
1991
+ # @!attribute [rw] certificate_arn
1992
+ # The ARN of the certificate to delete.
1993
+ # @return [String]
1994
+ #
1995
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DeleteMemberCertificateInput AWS API Documentation
1996
+ #
1997
+ class DeleteMemberCertificateInput < Struct.new(
1998
+ :certificate_arn)
1999
+ SENSITIVE = []
2000
+ include Aws::Structure
2001
+ end
2002
+
2003
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DeleteMemberCertificateOutput AWS API Documentation
2004
+ #
2005
+ class DeleteMemberCertificateOutput < Aws::EmptyStructure; end
2006
+
1600
2007
  # @!attribute [rw] acme_endpoint_arn
1601
2008
  # The Amazon Resource Name (ARN) of the ACME endpoint.
1602
2009
  # @return [String]
@@ -1903,6 +2310,37 @@ module Aws::ACM
1903
2310
  include Aws::Structure
1904
2311
  end
1905
2312
 
2313
+ # A domain name and how to match it.
2314
+ #
2315
+ # * EQUALS matches the name exactly.
2316
+ # * IN\_DOMAIN matches the name and every name under it, at label
2317
+ # boundaries. For example, example.com matches www.example.com but not
2318
+ # notexample.com.
2319
+ # * CONTAINS matches every name that contains the value anywhere. For
2320
+ # example, example matches www.example.com and notexample.org.
2321
+ #
2322
+ # An asterisk is always matched literally. For example, *.example.com
2323
+ # does not match www.example.com.
2324
+ #
2325
+ # @!attribute [rw] value
2326
+ # The domain name, 1 to 253 characters. For CONTAINS, part of a name,
2327
+ # 3 to 253 characters: letters, digits, hyphens, and dots, optionally
2328
+ # after a leading `*.`.
2329
+ # @return [String]
2330
+ #
2331
+ # @!attribute [rw] match
2332
+ # How to match the domain name.
2333
+ # @return [String]
2334
+ #
2335
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DomainPredicate AWS API Documentation
2336
+ #
2337
+ class DomainPredicate < Struct.new(
2338
+ :value,
2339
+ :match)
2340
+ SENSITIVE = []
2341
+ include Aws::Structure
2342
+ end
2343
+
1906
2344
  # Specifies the scope of domain validation.
1907
2345
  #
1908
2346
  # @!attribute [rw] exact_domain
@@ -2310,12 +2748,70 @@ module Aws::ACM
2310
2748
  include Aws::Structure
2311
2749
  end
2312
2750
 
2313
- # Describes an ASN.1 X.400 `GeneralName` as defined in [RFC 5280][1].
2314
- # Only one of the following naming options should be provided.
2751
+ # Counts of a certificate's open findings by severity.
2315
2752
  #
2753
+ # @!attribute [rw] critical
2754
+ # Open findings of critical severity.
2755
+ # @return [Integer]
2316
2756
  #
2757
+ # @!attribute [rw] high
2758
+ # Open findings of high severity.
2759
+ # @return [Integer]
2317
2760
  #
2318
- # [1]: https://datatracker.ietf.org/doc/html/rfc5280
2761
+ # @!attribute [rw] medium
2762
+ # Open findings of medium severity.
2763
+ # @return [Integer]
2764
+ #
2765
+ # @!attribute [rw] low
2766
+ # Open findings of low severity.
2767
+ # @return [Integer]
2768
+ #
2769
+ # @!attribute [rw] informational
2770
+ # Open findings of informational severity.
2771
+ # @return [Integer]
2772
+ #
2773
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/FindingCounts AWS API Documentation
2774
+ #
2775
+ class FindingCounts < Struct.new(
2776
+ :critical,
2777
+ :high,
2778
+ :medium,
2779
+ :low,
2780
+ :informational)
2781
+ SENSITIVE = []
2782
+ include Aws::Structure
2783
+ end
2784
+
2785
+ # What a rule evaluated. Exactly one member is set. Members can be
2786
+ # added; clients must accept members they do not know.
2787
+ #
2788
+ # @note FindingScope is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of FindingScope corresponding to the set member.
2789
+ #
2790
+ # @!attribute [rw] series
2791
+ # The ACM certificate ARN, account, and Region of the series the rule
2792
+ # evaluated. A series is the set of certificates that one ACM
2793
+ # certificate holds across renewals and reimports.
2794
+ # @return [Types::SeriesFindingContext]
2795
+ #
2796
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/FindingScope AWS API Documentation
2797
+ #
2798
+ class FindingScope < Struct.new(
2799
+ :series,
2800
+ :unknown)
2801
+ SENSITIVE = []
2802
+ include Aws::Structure
2803
+ include Aws::Structure::Union
2804
+
2805
+ class Series < FindingScope; end
2806
+ class Unknown < FindingScope; end
2807
+ end
2808
+
2809
+ # Describes an ASN.1 X.400 `GeneralName` as defined in [RFC 5280][1].
2810
+ # Only one of the following naming options should be provided.
2811
+ #
2812
+ #
2813
+ #
2814
+ # [1]: https://datatracker.ietf.org/doc/html/rfc5280
2319
2815
  #
2320
2816
  # @note GeneralName is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of GeneralName corresponding to the set member.
2321
2817
  #
@@ -2465,6 +2961,63 @@ module Aws::ACM
2465
2961
  include Aws::Structure
2466
2962
  end
2467
2963
 
2964
+ # @api private
2965
+ #
2966
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/GetInventoryConfigurationInput AWS API Documentation
2967
+ #
2968
+ class GetInventoryConfigurationInput < Aws::EmptyStructure; end
2969
+
2970
+ # @!attribute [rw] configuration
2971
+ # The organization's inventory configuration.
2972
+ # @return [Types::InventoryConfiguration]
2973
+ #
2974
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/GetInventoryConfigurationOutput AWS API Documentation
2975
+ #
2976
+ class GetInventoryConfigurationOutput < Struct.new(
2977
+ :configuration)
2978
+ SENSITIVE = []
2979
+ include Aws::Structure
2980
+ end
2981
+
2982
+ # @!attribute [rw] requested_aggregates
2983
+ # The aggregates to return, 0 to 25 entries. CertificateCount is
2984
+ # always returned and needs no entry, so an empty list returns
2985
+ # CertificateCount with an empty Aggregates list. Each aggregate can
2986
+ # appear at most once. A repeated aggregate, or an aggregate the
2987
+ # service does not support, returns ValidationException.
2988
+ # @return [Array<Types::InventoryAggregateRequest>]
2989
+ #
2990
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/GetInventoryInsightsInput AWS API Documentation
2991
+ #
2992
+ class GetInventoryInsightsInput < Struct.new(
2993
+ :requested_aggregates)
2994
+ SENSITIVE = []
2995
+ include Aws::Structure
2996
+ end
2997
+
2998
+ # @!attribute [rw] certificate_count
2999
+ # The number of certificates in the organization's inventory.
3000
+ # @return [Integer]
3001
+ #
3002
+ # @!attribute [rw] updated_at
3003
+ # When CertificateCount was last recomputed, in UTC. Absent when the
3004
+ # organization's counts have not been computed yet.
3005
+ # @return [Time]
3006
+ #
3007
+ # @!attribute [rw] aggregates
3008
+ # One result for each requested aggregate, in request order.
3009
+ # @return [Array<Types::InventoryAggregateResult>]
3010
+ #
3011
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/GetInventoryInsightsOutput AWS API Documentation
3012
+ #
3013
+ class GetInventoryInsightsOutput < Struct.new(
3014
+ :certificate_count,
3015
+ :updated_at,
3016
+ :aggregates)
3017
+ SENSITIVE = []
3018
+ include Aws::Structure
3019
+ end
3020
+
2468
3021
  # Contains information for HTTP-based domain validation of certificates
2469
3022
  # requested through Amazon CloudFront and issued by ACM. This field
2470
3023
  # exists only when the certificate type is `AMAZON_ISSUED` and the
@@ -2641,233 +3194,1338 @@ module Aws::ACM
2641
3194
  include Aws::Structure
2642
3195
  end
2643
3196
 
2644
- # The Key Usage X.509 v3 extension defines the purpose of the public key
2645
- # contained in the certificate.
3197
+ # A group in an aggregate result. For EXPIRY\_WINDOW, Value is absent,
3198
+ # and MinDays and MaxDays bound the window. The expired group has
3199
+ # MaxDays -1 and no MinDays. The 91 or more group has MinDays 91 and no
3200
+ # MaxDays. For ranked aggregates, MinDays and MaxDays are absent.
2646
3201
  #
2647
- # @!attribute [rw] name
2648
- # A string value that contains a Key Usage extension name.
3202
+ # @!attribute [rw] value
3203
+ # The group key for a ranked aggregate:
3204
+ #
3205
+ # * ISSUANCE\_TYPE: the IssuanceType value.
3206
+ # * REGION: the Region code.
3207
+ # * IN\_USE: "true" or "false".
3208
+ # * KEY\_ALGORITHM: the InventoryKeyAlgorithm value.
3209
+ # * HIGHEST\_FINDING\_SEVERITY: the CertificateHealthSeverity value.
3210
+ #
3211
+ # Absent for EXPIRY\_WINDOW. Clients must accept values they do not
3212
+ # know. 1 to 256 characters.
2649
3213
  # @return [String]
2650
3214
  #
2651
- # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/KeyUsage AWS API Documentation
3215
+ # @!attribute [rw] count
3216
+ # The number of certificates in the group.
3217
+ # @return [Integer]
2652
3218
  #
2653
- class KeyUsage < Struct.new(
2654
- :name)
3219
+ # @!attribute [rw] min_days
3220
+ # Inclusive lower bound, in whole days remaining. Absent on the
3221
+ # expired EXPIRY\_WINDOW group, which has MaxDays -1.
3222
+ # @return [Integer]
3223
+ #
3224
+ # @!attribute [rw] max_days
3225
+ # Inclusive upper bound, in whole days remaining. On the expired
3226
+ # EXPIRY\_WINDOW group, it is -1. This means the certificate had
3227
+ # already expired: its NotAfter is before the result's UpdatedAt.
3228
+ # That group has no MinDays. -1 is the only negative value. Absent on
3229
+ # the 91 or more group.
3230
+ # @return [Integer]
3231
+ #
3232
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/InventoryAggregateGroup AWS API Documentation
3233
+ #
3234
+ class InventoryAggregateGroup < Struct.new(
3235
+ :value,
3236
+ :count,
3237
+ :min_days,
3238
+ :max_days)
2655
3239
  SENSITIVE = []
2656
3240
  include Aws::Structure
2657
3241
  end
2658
3242
 
2659
- # An ACM quota has been exceeded.
3243
+ # Selects one aggregate and carries its options. Only
3244
+ # HighestFindingSeverity takes options. Each member returns the
3245
+ # InventoryAggregateResult with the matching Aggregate:
2660
3246
  #
2661
- # @!attribute [rw] message
2662
- # @return [String]
3247
+ # * ExpiryWindow: EXPIRY\_WINDOW
3248
+ # * IssuanceType: ISSUANCE\_TYPE
3249
+ # * Region: REGION
3250
+ # * InUse: IN\_USE
3251
+ # * KeyAlgorithm: KEY\_ALGORITHM
3252
+ # * HighestFindingSeverity: HIGHEST\_FINDING\_SEVERITY
2663
3253
  #
2664
- # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/LimitExceededException AWS API Documentation
3254
+ # @note InventoryAggregateRequest is a union - when making an API calls you must set exactly one of the members.
2665
3255
  #
2666
- class LimitExceededException < Struct.new(
2667
- :message)
3256
+ # @!attribute [rw] expiry_window
3257
+ # Requests expiry-window groups.
3258
+ # @return [Types::InventoryExpiryWindowOptions]
3259
+ #
3260
+ # @!attribute [rw] issuance_type
3261
+ # Requests issuance-type groups.
3262
+ # @return [Types::InventoryIssuanceTypeOptions]
3263
+ #
3264
+ # @!attribute [rw] region
3265
+ # Requests Region groups.
3266
+ # @return [Types::InventoryRegionOptions]
3267
+ #
3268
+ # @!attribute [rw] in_use
3269
+ # Requests usage-presence groups.
3270
+ # @return [Types::InventoryInUseOptions]
3271
+ #
3272
+ # @!attribute [rw] key_algorithm
3273
+ # Requests key-algorithm groups.
3274
+ # @return [Types::InventoryKeyAlgorithmOptions]
3275
+ #
3276
+ # @!attribute [rw] highest_finding_severity
3277
+ # Requests groups by the highest severity among each certificate's
3278
+ # open findings. Certificates whose findings have not been evaluated
3279
+ # are counted in a NOT\_EVALUATED group, so the groups sum to
3280
+ # CertificateCount.
3281
+ # @return [Types::InventoryHighestFindingSeverityOptions]
3282
+ #
3283
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/InventoryAggregateRequest AWS API Documentation
3284
+ #
3285
+ class InventoryAggregateRequest < Struct.new(
3286
+ :expiry_window,
3287
+ :issuance_type,
3288
+ :region,
3289
+ :in_use,
3290
+ :key_algorithm,
3291
+ :highest_finding_severity,
3292
+ :unknown)
2668
3293
  SENSITIVE = []
2669
3294
  include Aws::Structure
3295
+ include Aws::Structure::Union
3296
+
3297
+ class ExpiryWindow < InventoryAggregateRequest; end
3298
+ class IssuanceType < InventoryAggregateRequest; end
3299
+ class Region < InventoryAggregateRequest; end
3300
+ class InUse < InventoryAggregateRequest; end
3301
+ class KeyAlgorithm < InventoryAggregateRequest; end
3302
+ class HighestFindingSeverity < InventoryAggregateRequest; end
3303
+ class Unknown < InventoryAggregateRequest; end
2670
3304
  end
2671
3305
 
2672
- # @!attribute [rw] next_token
2673
- # A token for pagination.
3306
+ # One requested aggregate and its groups.
3307
+ #
3308
+ # EXPIRY\_WINDOW always returns its six fixed groups, including groups
3309
+ # with a count of 0. They are ordered from expired to 91 or more days.
3310
+ #
3311
+ # ISSUANCE\_TYPE, REGION, IN\_USE, KEY\_ALGORITHM, and
3312
+ # HIGHEST\_FINDING\_SEVERITY are ranked aggregates. A ranked aggregate
3313
+ # omits groups with a count of 0. It orders groups by Count, descending,
3314
+ # and then by Value, ascending. It returns at most 100 groups, and
3315
+ # OtherCount carries the remainder.
3316
+ #
3317
+ # @!attribute [rw] aggregate
3318
+ # The aggregate this result reports.
2674
3319
  # @return [String]
2675
3320
  #
2676
- # @!attribute [rw] max_results
2677
- # The maximum number of results to return.
3321
+ # @!attribute [rw] status
3322
+ # COMPLETE results include Groups; FAILED results omit them.
3323
+ # @return [String]
3324
+ #
3325
+ # @!attribute [rw] updated_at
3326
+ # When this aggregate's counts were last recomputed, in UTC.
3327
+ # EXPIRY\_WINDOW measures days remaining from this time. Absent when
3328
+ # Status is FAILED, or when the organization's counts have not been
3329
+ # computed yet.
3330
+ # @return [Time]
3331
+ #
3332
+ # @!attribute [rw] groups
3333
+ # Present only when Status is COMPLETE. Can be empty for a ranked
3334
+ # aggregate.
3335
+ # @return [Array<Types::InventoryAggregateGroup>]
3336
+ #
3337
+ # @!attribute [rw] other_count
3338
+ # The total count of certificates in ranked groups beyond the 100
3339
+ # returned. Absent when every group was returned.
2678
3340
  # @return [Integer]
2679
3341
  #
2680
- # @!attribute [rw] acme_endpoint_arn
2681
- # The Amazon Resource Name (ARN) of the ACME endpoint.
2682
- # @return [String]
3342
+ # @!attribute [rw] certificate_type_groups
3343
+ # The severity groups of each certificate type. Present only on a
3344
+ # COMPLETE HIGHEST\_FINDING\_SEVERITY result requested with GroupBy
3345
+ # CERTIFICATE\_TYPE. Groups still holds the severity groups of all
3346
+ # certificate types. A certificate type with no certificates is
3347
+ # omitted. The rest are ordered alphabetically by CertificateType
3348
+ # value.
3349
+ # @return [Array<Types::InventoryCertificateTypeGroup>]
2683
3350
  #
2684
- # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListAcmeAccountsRequest AWS API Documentation
3351
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/InventoryAggregateResult AWS API Documentation
2685
3352
  #
2686
- class ListAcmeAccountsRequest < Struct.new(
2687
- :next_token,
2688
- :max_results,
2689
- :acme_endpoint_arn)
3353
+ class InventoryAggregateResult < Struct.new(
3354
+ :aggregate,
3355
+ :status,
3356
+ :updated_at,
3357
+ :groups,
3358
+ :other_count,
3359
+ :certificate_type_groups)
2690
3360
  SENSITIVE = []
2691
3361
  include Aws::Structure
2692
3362
  end
2693
3363
 
2694
- # @!attribute [rw] acme_accounts
2695
- # The list of ACME accounts.
2696
- # @return [Array<Types::AcmeAccountSummary>]
3364
+ # One certificate observed in the organization's accounts. This is a
3365
+ # record of what was observed, not an AWS resource.
2697
3366
  #
2698
- # @!attribute [rw] next_token
2699
- # A token for pagination.
3367
+ # @!attribute [rw] identifier
3368
+ # The certificate's identifier in the inventory.
2700
3369
  # @return [String]
2701
3370
  #
2702
- # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListAcmeAccountsResponse AWS API Documentation
2703
- #
2704
- class ListAcmeAccountsResponse < Struct.new(
2705
- :acme_accounts,
2706
- :next_token)
2707
- SENSITIVE = []
2708
- include Aws::Structure
2709
- end
2710
-
2711
- # @!attribute [rw] next_token
2712
- # A token for pagination.
3371
+ # @!attribute [rw] material_type
3372
+ # The kind of certificate.
2713
3373
  # @return [String]
2714
3374
  #
2715
- # @!attribute [rw] max_results
2716
- # The maximum number of results to return.
3375
+ # @!attribute [rw] validity
3376
+ # When the certificate is valid.
3377
+ # @return [Types::ValidityWindow]
3378
+ #
3379
+ # @!attribute [rw] identity
3380
+ # Who or what the certificate identifies.
3381
+ # @return [Types::InventoryCertificateIdentity]
3382
+ #
3383
+ # @!attribute [rw] usage_count
3384
+ # How many places the certificate was observed in use, counted when
3385
+ # the certificate was last collected. It can lag the TotalCount of
3386
+ # ListInventoryUsages. It can also differ from InUseByCount in a
3387
+ # related ACM certificate's metadata. InUseByCount is the length of
3388
+ # the InUseBy list in ACM when the inventory last read it, not what
3389
+ # the inventory observed.
2717
3390
  # @return [Integer]
2718
3391
  #
2719
- # @!attribute [rw] acme_endpoint_arn
2720
- # The Amazon Resource Name (ARN) of the ACME endpoint.
2721
- # @return [String]
3392
+ # @!attribute [rw] finding_counts
3393
+ # Counts of open findings by severity. Absent until findings have been
3394
+ # evaluated for this certificate.
3395
+ # @return [Types::FindingCounts]
3396
+ #
3397
+ # @!attribute [rw] x509_details
3398
+ # Details of an X.509 certificate. Present when MaterialType is
3399
+ # X509\_CERTIFICATE.
3400
+ # @return [Types::InventoryX509Details]
3401
+ #
3402
+ # @!attribute [rw] highest_finding_severity
3403
+ # The certificate's health. CRITICAL to INFORMATIONAL is the highest
3404
+ # severity among the open findings of the series in which the
3405
+ # certificate is a current certificate. HEALTHY means rules apply and
3406
+ # none has an open finding. NOT\_APPLICABLE means no rule applies to
3407
+ # the certificate. NOT\_EVALUATED means its findings have not been
3408
+ # evaluated yet. SearchInventory returns it for every certificate.
3409
+ # @return [String]
3410
+ #
3411
+ # @!attribute [rw] related_resource_count
3412
+ # How many related resources the certificate has. These are the ACM
3413
+ # certificates, AWS Private Certificate Authority (AWS Private CA)
3414
+ # certificates, and AWS Private CA certificate authorities that
3415
+ # ListInventoryRelatedResources lists for it. It is a whole number, 0
3416
+ # or more, with no upper bound. 0 means the certificate has none. It
3417
+ # is counted each time the inventory updates the certificate, so it
3418
+ # can lag the TotalCount of ListInventoryRelatedResources until the
3419
+ # next update. Absent when it has not been counted for this
3420
+ # certificate.
3421
+ # @return [Integer]
2722
3422
  #
2723
- # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListAcmeDomainValidationsRequest AWS API Documentation
3423
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/InventoryCertificate AWS API Documentation
2724
3424
  #
2725
- class ListAcmeDomainValidationsRequest < Struct.new(
2726
- :next_token,
2727
- :max_results,
2728
- :acme_endpoint_arn)
3425
+ class InventoryCertificate < Struct.new(
3426
+ :identifier,
3427
+ :material_type,
3428
+ :validity,
3429
+ :identity,
3430
+ :usage_count,
3431
+ :finding_counts,
3432
+ :x509_details,
3433
+ :highest_finding_severity,
3434
+ :related_resource_count)
2729
3435
  SENSITIVE = []
2730
3436
  include Aws::Structure
2731
3437
  end
2732
3438
 
2733
- # @!attribute [rw] acme_domain_validations
2734
- # The list of domain validations.
2735
- # @return [Array<Types::AcmeDomainValidationSummary>]
3439
+ # Who or what a certificate identifies.
2736
3440
  #
2737
- # @!attribute [rw] next_token
2738
- # A token for pagination.
3441
+ # @!attribute [rw] subject
3442
+ # The subject distinguished name. Absent for a certificate without a
3443
+ # subject.
2739
3444
  # @return [String]
2740
3445
  #
2741
- # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListAcmeDomainValidationsResponse AWS API Documentation
3446
+ # @!attribute [rw] identifiers
3447
+ # The names the certificate identifies, such as its DNS subject
3448
+ # alternative names. Holds at most the first 100 names.
3449
+ # HasAdditionalIdentifiers says whether there are more. For every
3450
+ # name, see SubjectAlternativeNames in the certificate's X509Details.
3451
+ # @return [Array<String>]
2742
3452
  #
2743
- class ListAcmeDomainValidationsResponse < Struct.new(
2744
- :acme_domain_validations,
2745
- :next_token)
3453
+ # @!attribute [rw] has_additional_identifiers
3454
+ # Whether the certificate has more identifiers than are returned in
3455
+ # Identifiers. If true, only the first 100 are returned. If false,
3456
+ # Identifiers holds them all.
3457
+ # @return [Boolean]
3458
+ #
3459
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/InventoryCertificateIdentity AWS API Documentation
3460
+ #
3461
+ class InventoryCertificateIdentity < Struct.new(
3462
+ :subject,
3463
+ :identifiers,
3464
+ :has_additional_identifiers)
2746
3465
  SENSITIVE = []
2747
3466
  include Aws::Structure
2748
3467
  end
2749
3468
 
2750
- # @!attribute [rw] next_token
2751
- # A token for pagination.
3469
+ # The HIGHEST\_FINDING\_SEVERITY groups of one certificate type. They
3470
+ # are ranked like the aggregate's own groups. Groups with a count of 0
3471
+ # are omitted, and the rest are ordered by Count, descending, and then
3472
+ # by Value, ascending. The NOT\_EVALUATED group counts this type's
3473
+ # certificates whose findings have not been evaluated yet. This is
3474
+ # CertificateCount minus the type's evaluated groups, so the groups sum
3475
+ # to CertificateCount.
3476
+ #
3477
+ # @!attribute [rw] certificate_type
3478
+ # The certificate type these groups count.
2752
3479
  # @return [String]
2753
3480
  #
2754
- # @!attribute [rw] max_results
2755
- # The maximum number of results to return.
3481
+ # @!attribute [rw] certificate_count
3482
+ # The number of certificates of this type in the organization's
3483
+ # inventory, evaluated or not. It comes from the same precomputed
3484
+ # counts as GetInventoryInsightsOutput.CertificateCount.
2756
3485
  # @return [Integer]
2757
3486
  #
2758
- # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListAcmeEndpointsRequest AWS API Documentation
3487
+ # @!attribute [rw] groups
3488
+ # The severity groups of this certificate type, with the
3489
+ # CertificateHealthSeverity value as each group's Value.
3490
+ # @return [Array<Types::InventoryAggregateGroup>]
2759
3491
  #
2760
- class ListAcmeEndpointsRequest < Struct.new(
2761
- :next_token,
2762
- :max_results)
3492
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/InventoryCertificateTypeGroup AWS API Documentation
3493
+ #
3494
+ class InventoryCertificateTypeGroup < Struct.new(
3495
+ :certificate_type,
3496
+ :certificate_count,
3497
+ :groups)
2763
3498
  SENSITIVE = []
2764
3499
  include Aws::Structure
2765
3500
  end
2766
3501
 
2767
- # @!attribute [rw] acme_endpoints
2768
- # The list of ACME endpoints.
2769
- # @return [Array<Types::AcmeEndpointSummary>]
3502
+ # The organization's inventory configuration.
2770
3503
  #
2771
- # @!attribute [rw] next_token
2772
- # A token for pagination.
2773
- # @return [String]
3504
+ # @!attribute [rw] regional_scope
3505
+ # The Regions collected from.
3506
+ # @return [Types::RegionalScope]
2774
3507
  #
2775
- # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListAcmeEndpointsResponse AWS API Documentation
3508
+ # @!attribute [rw] account_scope
3509
+ # The accounts collected from.
3510
+ # @return [Types::AccountScope]
2776
3511
  #
2777
- class ListAcmeEndpointsResponse < Struct.new(
2778
- :acme_endpoints,
2779
- :next_token)
3512
+ # @!attribute [rw] data_retention_days
3513
+ # How many days inventory data is kept.
3514
+ # @return [Integer]
3515
+ #
3516
+ # @!attribute [rw] status
3517
+ # Whether collection is on. After a DISABLED request while the
3518
+ # organization has an ACM plan, Status stays ENABLED until the plan
3519
+ # ends at the end of the billing period.
3520
+ # @return [String]
3521
+ #
3522
+ # @!attribute [rw] provisioning_status
3523
+ # How far setup of the current configuration has progressed in the
3524
+ # organization's accounts.
3525
+ # @return [String]
3526
+ #
3527
+ # @!attribute [rw] provisioning_status_reason
3528
+ # Why setup failed. Present only when ProvisioningStatus is FAILED.
3529
+ # @return [Types::ProvisioningStatusReason]
3530
+ #
3531
+ # @!attribute [rw] home_region
3532
+ # The home Region: the Region where the configuration is managed. It
3533
+ # is the Region of the first PutInventoryConfiguration call.
3534
+ # @return [String]
3535
+ #
3536
+ # @!attribute [rw] lifecycle_management
3537
+ # The state of Certificate actions for organizations. Certificate
3538
+ # actions are the operations that act on certificates and certificate
3539
+ # authorities in the organization's member accounts, such as
3540
+ # RenewMemberCertificate. Status is DISABLED until certificate actions
3541
+ # are first turned on.
3542
+ # @return [Types::LifecycleManagementConfiguration]
3543
+ #
3544
+ # @!attribute [rw] expiry_notification
3545
+ # Certificate expiry notifications as stored. Until they are
3546
+ # configured, Enabled is false, LeadTimeDays is 7, and Frequency is
3547
+ # ONCE.
3548
+ # @return [Types::InventoryExpiryNotification]
3549
+ #
3550
+ # @!attribute [rw] last_delivery_status
3551
+ # The latest verification or delivery outcome for ExpiryNotification.
3552
+ # Absent while inventory Status is DISABLED or notifications are off.
3553
+ # @return [Types::InventoryNotificationDeliveryStatus]
3554
+ #
3555
+ # @!attribute [rw] inventory_tier_configuration
3556
+ # The organization's ACM plan. Present while the organization has a
3557
+ # plan or one is being applied, and while a scheduled change is
3558
+ # pending. Absent when the organization has no plan. Only
3559
+ # GetInventoryConfiguration returns it. PutInventoryConfiguration
3560
+ # never does.
3561
+ # @return [Types::InventoryTierConfiguration]
3562
+ #
3563
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/InventoryConfiguration AWS API Documentation
3564
+ #
3565
+ class InventoryConfiguration < Struct.new(
3566
+ :regional_scope,
3567
+ :account_scope,
3568
+ :data_retention_days,
3569
+ :status,
3570
+ :provisioning_status,
3571
+ :provisioning_status_reason,
3572
+ :home_region,
3573
+ :lifecycle_management,
3574
+ :expiry_notification,
3575
+ :last_delivery_status,
3576
+ :inventory_tier_configuration)
2780
3577
  SENSITIVE = []
2781
3578
  include Aws::Structure
2782
3579
  end
2783
3580
 
2784
- # @!attribute [rw] next_token
2785
- # A token for pagination.
3581
+ # Certificate expiry notifications for the organization. A notification
3582
+ # is sent at the chosen Frequency for each certificate that is not
3583
+ # expired or revoked and whose NotAfter is within LeadTimeDays.
3584
+ #
3585
+ # With Enabled true, the topic must be a standard (non-FIFO) Amazon SNS
3586
+ # topic in the management account and the home Region. It must also be
3587
+ # in the partition of the endpoint you call. PutInventoryConfiguration
3588
+ # checks only the ARN. Each save with Enabled true verifies the topic
3589
+ # again after the call returns. Nothing is delivered until
3590
+ # LastDeliveryStatus is VERIFIED.
3591
+ #
3592
+ # Notifications are sent only while inventory Status is ENABLED. The
3593
+ # setting is returned as saved.
3594
+ #
3595
+ # @!attribute [rw] enabled
3596
+ # Whether notifications are sent. Defaults to false. When true,
3597
+ # Channel and TopicArn are required.
3598
+ # @return [Boolean]
3599
+ #
3600
+ # @!attribute [rw] channel
3601
+ # Where notifications are delivered. Set together with TopicArn.
2786
3602
  # @return [String]
2787
3603
  #
2788
- # @!attribute [rw] max_results
2789
- # The maximum number of results to return.
3604
+ # @!attribute [rw] topic_arn
3605
+ # The Amazon SNS topic to publish to. Set together with Channel.
3606
+ # @return [String]
3607
+ #
3608
+ # @!attribute [rw] lead_time_days
3609
+ # Days before NotAfter that notifications start: 7, 30, 60, or 90.
3610
+ # Defaults to 7.
2790
3611
  # @return [Integer]
2791
3612
  #
2792
- # @!attribute [rw] acme_endpoint_arn
2793
- # The Amazon Resource Name (ARN) of the ACME endpoint.
3613
+ # @!attribute [rw] frequency
3614
+ # How often a notification is sent for a certificate within
3615
+ # LeadTimeDays. Defaults to ONCE.
2794
3616
  # @return [String]
2795
3617
  #
2796
- # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListAcmeExternalAccountBindingsRequest AWS API Documentation
3618
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/InventoryExpiryNotification AWS API Documentation
2797
3619
  #
2798
- class ListAcmeExternalAccountBindingsRequest < Struct.new(
2799
- :next_token,
2800
- :max_results,
2801
- :acme_endpoint_arn)
3620
+ class InventoryExpiryNotification < Struct.new(
3621
+ :enabled,
3622
+ :channel,
3623
+ :topic_arn,
3624
+ :lead_time_days,
3625
+ :frequency)
2802
3626
  SENSITIVE = []
2803
3627
  include Aws::Structure
2804
3628
  end
2805
3629
 
2806
- # @!attribute [rw] external_account_bindings
2807
- # The list of external account bindings.
2808
- # @return [Array<Types::AcmeExternalAccountBindingSummary>]
3630
+ # Options for the EXPIRY\_WINDOW aggregate. This aggregate has no
3631
+ # options.
2809
3632
  #
2810
- # @!attribute [rw] next_token
2811
- # A token for pagination.
2812
- # @return [String]
3633
+ # @api private
2813
3634
  #
2814
- # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListAcmeExternalAccountBindingsResponse AWS API Documentation
3635
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/InventoryExpiryWindowOptions AWS API Documentation
2815
3636
  #
2816
- class ListAcmeExternalAccountBindingsResponse < Struct.new(
2817
- :external_account_bindings,
2818
- :next_token)
2819
- SENSITIVE = []
2820
- include Aws::Structure
2821
- end
3637
+ class InventoryExpiryWindowOptions < Aws::EmptyStructure; end
2822
3638
 
2823
- # @!attribute [rw] certificate_arn
2824
- # The Amazon Resource Name (ARN) of the certificate for which to list
2825
- # domain validation summaries.
3639
+ # One condition on a certificate. Set exactly one member.
3640
+ #
3641
+ # @note InventoryFilterPredicate is a union - when making an API calls you must set exactly one of the members.
3642
+ #
3643
+ # @!attribute [rw] identifier
3644
+ # Matches one certificate by its identifier. Used alone, it looks up a
3645
+ # single certificate.
2826
3646
  # @return [String]
2827
3647
  #
2828
- # @!attribute [rw] next_token
2829
- # A token returned by a previous call to
2830
- # `ListCertificateDomainValidations`. If the number of results exceeds
2831
- # `MaxItems`, use this token to retrieve the next page of results.
3648
+ # @!attribute [rw] material_type
3649
+ # Matches the certificate's material type.
2832
3650
  # @return [String]
2833
3651
  #
2834
- # @!attribute [rw] max_items
2835
- # The maximum number of domain validation summaries to return. If you
2836
- # don't specify a value, the default is 1000.
2837
- # @return [Integer]
3652
+ # @!attribute [rw] account_id
3653
+ # Matches certificates with a related resource in this account. An
3654
+ # account outside the organization matches nothing. When you combine
3655
+ # it with Region, the account and the Region can come from different
3656
+ # related resources.
3657
+ # @return [String]
2838
3658
  #
2839
- # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListCertificateDomainValidationsRequest AWS API Documentation
3659
+ # @!attribute [rw] region
3660
+ # Matches certificates with a related resource in this Region. When
3661
+ # you combine it with AccountId, the account and the Region can come
3662
+ # from different related resources.
3663
+ # @return [String]
2840
3664
  #
2841
- class ListCertificateDomainValidationsRequest < Struct.new(
2842
- :certificate_arn,
2843
- :next_token,
2844
- :max_items)
2845
- SENSITIVE = []
2846
- include Aws::Structure
2847
- end
2848
-
2849
- # @!attribute [rw] domain_validation_summary_list
2850
- # A list of DomainValidationSummary objects, one for each domain on
2851
- # the certificate. Each object contains the domain name and its active
2852
- # and requested validation configurations.
2853
- # @return [Array<Types::DomainValidationSummary>]
3665
+ # @!attribute [rw] issuance_type
3666
+ # Matches the certificate's X509Details.IssuanceType, not the
3667
+ # issuance type of a related resource.
3668
+ # @return [String]
2854
3669
  #
2855
- # @!attribute [rw] next_token
2856
- # If the number of results exceeds `MaxItems`, this token is included
2857
- # in the response. Use this token in a subsequent
2858
- # `ListCertificateDomainValidations` request to retrieve the next page
2859
- # of results.
3670
+ # @!attribute [rw] key_algorithm
3671
+ # Matches the certificate's key algorithm.
2860
3672
  # @return [String]
2861
3673
  #
2862
- # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListCertificateDomainValidationsResponse AWS API Documentation
3674
+ # @!attribute [rw] usage_status
3675
+ # IN\_USE matches certificates observed in use; NOT\_IN\_USE matches
3676
+ # certificates with no observed usages.
3677
+ # @return [String]
2863
3678
  #
2864
- class ListCertificateDomainValidationsResponse < Struct.new(
2865
- :domain_validation_summary_list,
2866
- :next_token)
2867
- SENSITIVE = []
2868
- include Aws::Structure
2869
- end
2870
-
3679
+ # @!attribute [rw] issuer
3680
+ # Matches the certificate's X509Details.Issuer distinguished name
3681
+ # exactly, including case. It does not match a certificate authority
3682
+ # ARN. To match part of the name, use IssuerWords.
3683
+ # @return [String]
3684
+ #
3685
+ # @!attribute [rw] domain
3686
+ # Matches the certificate's DNS subject alternative names and subject
3687
+ # common name, without regard to case.
3688
+ # @return [Types::DomainPredicate]
3689
+ #
3690
+ # @!attribute [rw] not_after
3691
+ # Matches certificates whose NotAfter falls in the range.
3692
+ # @return [Types::InventoryTimeRange]
3693
+ #
3694
+ # @!attribute [rw] related_resource_type
3695
+ # Matches certificates with a related resource of this type. Usage
3696
+ # targets, such as load balancers, are not related resources.
3697
+ # @return [String]
3698
+ #
3699
+ # @!attribute [rw] highest_finding_severity
3700
+ # Matches the certificate's HighestFindingSeverity. NOT\_EVALUATED
3701
+ # matches exactly the certificates whose findings have not been
3702
+ # evaluated yet.
3703
+ # @return [String]
3704
+ #
3705
+ # @!attribute [rw] acm_certificate_arn
3706
+ # Matches certificates by the ARN of a related ACM certificate. It can
3707
+ # match the certificate the ACM certificate holds now, or every
3708
+ # certificate it has held. The ARN is compared exactly, case included,
3709
+ # as ACM reports it.
3710
+ # @return [Types::AcmCertificateArnPredicate]
3711
+ #
3712
+ # @!attribute [rw] pca_certificate_arn
3713
+ # Matches the certificate that AWS Private Certificate Authority (AWS
3714
+ # Private CA) issued with this certificate ARN. The ARN is compared
3715
+ # exactly, case included, as AWS Private CA reports it.
3716
+ # @return [String]
3717
+ #
3718
+ # @!attribute [rw] pca_certificate_authority_arn
3719
+ # Matches certificates by the ARN of a related AWS Private CA
3720
+ # certificate authority. It can match the certificates the certificate
3721
+ # authority issued, or its own certificate. The ARN is compared
3722
+ # exactly, case included, as AWS Private CA reports it.
3723
+ # @return [Types::PrivateCaCertificateAuthorityArnPredicate]
3724
+ #
3725
+ # @!attribute [rw] issuer_words
3726
+ # Matches certificates whose X509Details.Issuer distinguished name
3727
+ # contains every word of the value. Words can be in any order, and
3728
+ # case does not matter.
3729
+ #
3730
+ # Words are split the same way the inventory splits the issuer name:
3731
+ # at spaces and at punctuation, such as commas, equals signs, and
3732
+ # hyphens. Letters joined by a period, a colon, or an apostrophe stay
3733
+ # one word, such as example.com, x:y, or l'exemple. Each Chinese,
3734
+ # Japanese, or Korean (CJK) ideograph is a separate word.
3735
+ #
3736
+ # Each word must match a whole word of the name. For example, amazon
3737
+ # rsa and O=Amazon both match CN=Amazon RSA 2048 M03,O=Amazon,C=US,
3738
+ # but amaz does not.
3739
+ #
3740
+ # The value must hold at least one letter or digit, and at most 64
3741
+ # words. The IssuerWords values of one filter can hold at most 512
3742
+ # words in total. Some characters, such as emoji, symbols, and
3743
+ # ideographs, each count as one word toward these limits. IssuerWords
3744
+ # does not match a certificate authority ARN.
3745
+ # @return [String]
3746
+ #
3747
+ # @!attribute [rw] signature_algorithm
3748
+ # Matches the certificate's X509Details.SignatureAlgorithm, such as
3749
+ # SHA256WITHRSA. The value is a free string, not a closed list. It is
3750
+ # compared in uppercase as a whole value, so sha256WithRSA matches
3751
+ # SHA256WITHRSA, but SHA256 matches nothing. Leading and trailing
3752
+ # whitespace is ignored. A certificate with no recorded signature
3753
+ # algorithm matches no value.
3754
+ # @return [String]
3755
+ #
3756
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/InventoryFilterPredicate AWS API Documentation
3757
+ #
3758
+ class InventoryFilterPredicate < Struct.new(
3759
+ :identifier,
3760
+ :material_type,
3761
+ :account_id,
3762
+ :region,
3763
+ :issuance_type,
3764
+ :key_algorithm,
3765
+ :usage_status,
3766
+ :issuer,
3767
+ :domain,
3768
+ :not_after,
3769
+ :related_resource_type,
3770
+ :highest_finding_severity,
3771
+ :acm_certificate_arn,
3772
+ :pca_certificate_arn,
3773
+ :pca_certificate_authority_arn,
3774
+ :issuer_words,
3775
+ :signature_algorithm,
3776
+ :unknown)
3777
+ SENSITIVE = []
3778
+ include Aws::Structure
3779
+ include Aws::Structure::Union
3780
+
3781
+ class Identifier < InventoryFilterPredicate; end
3782
+ class MaterialType < InventoryFilterPredicate; end
3783
+ class AccountId < InventoryFilterPredicate; end
3784
+ class Region < InventoryFilterPredicate; end
3785
+ class IssuanceType < InventoryFilterPredicate; end
3786
+ class KeyAlgorithm < InventoryFilterPredicate; end
3787
+ class UsageStatus < InventoryFilterPredicate; end
3788
+ class Issuer < InventoryFilterPredicate; end
3789
+ class Domain < InventoryFilterPredicate; end
3790
+ class NotAfter < InventoryFilterPredicate; end
3791
+ class RelatedResourceType < InventoryFilterPredicate; end
3792
+ class HighestFindingSeverity < InventoryFilterPredicate; end
3793
+ class AcmCertificateArn < InventoryFilterPredicate; end
3794
+ class PcaCertificateArn < InventoryFilterPredicate; end
3795
+ class PcaCertificateAuthorityArn < InventoryFilterPredicate; end
3796
+ class IssuerWords < InventoryFilterPredicate; end
3797
+ class SignatureAlgorithm < InventoryFilterPredicate; end
3798
+ class Unknown < InventoryFilterPredicate; end
3799
+ end
3800
+
3801
+ # A filter: one predicate, or And, Or, or Not over other statements. Set
3802
+ # exactly one member. An And or Or list holds 1 to 15 statements.
3803
+ # Statements nest at most 3 levels deep, and a filter holds at most 20
3804
+ # predicates in total. The request's Filter is level 1. Each statement
3805
+ # inside an And, Or, or Not is one level deeper. For example, an And of
3806
+ # Not statements that each hold a predicate is 3 levels deep.
3807
+ #
3808
+ # @note InventoryFilterStatement is a union - when making an API calls you must set exactly one of the members.
3809
+ #
3810
+ # @!attribute [rw] and
3811
+ # Matches certificates that match every statement.
3812
+ # @return [Array<Types::InventoryFilterStatement>]
3813
+ #
3814
+ # @!attribute [rw] or
3815
+ # Matches certificates that match at least one statement.
3816
+ # @return [Array<Types::InventoryFilterStatement>]
3817
+ #
3818
+ # @!attribute [rw] not
3819
+ # Matches certificates that do not match the statement.
3820
+ # @return [Types::InventoryFilterStatement]
3821
+ #
3822
+ # @!attribute [rw] filter
3823
+ # Matches certificates that match the predicate.
3824
+ # @return [Types::InventoryFilterPredicate]
3825
+ #
3826
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/InventoryFilterStatement AWS API Documentation
3827
+ #
3828
+ class InventoryFilterStatement < Struct.new(
3829
+ :and,
3830
+ :or,
3831
+ :not,
3832
+ :filter,
3833
+ :unknown)
3834
+ SENSITIVE = []
3835
+ include Aws::Structure
3836
+ include Aws::Structure::Union
3837
+
3838
+ class And < InventoryFilterStatement; end
3839
+ class Or < InventoryFilterStatement; end
3840
+ class Not < InventoryFilterStatement; end
3841
+ class Filter < InventoryFilterStatement; end
3842
+ class Unknown < InventoryFilterStatement; end
3843
+ end
3844
+
3845
+ # One open finding: a problem a rule found in what it evaluated. Only
3846
+ # open findings are returned, so a finding has no status.
3847
+ #
3848
+ # @!attribute [rw] finding_id
3849
+ # Identifies the finding. It stays the same for the same rule and the
3850
+ # same evaluated subject, across evaluations and pages. Use it to
3851
+ # recognize a finding that is returned again. It is opaque: do not
3852
+ # parse it or build one.
3853
+ # @return [String]
3854
+ #
3855
+ # @!attribute [rw] certificate_identifier
3856
+ # The identifier of the certificate whose findings were requested.
3857
+ # @return [String]
3858
+ #
3859
+ # @!attribute [rw] rule_id
3860
+ # The rule that produced the finding.
3861
+ # @return [String]
3862
+ #
3863
+ # @!attribute [rw] severity
3864
+ # How severe the finding is.
3865
+ # @return [String]
3866
+ #
3867
+ # @!attribute [rw] scope
3868
+ # What the rule evaluated.
3869
+ # @return [Types::FindingScope]
3870
+ #
3871
+ # @!attribute [rw] reason
3872
+ # Why the rule fired, for a rule with more than one cause.
3873
+ # FindingReason lists which rules return which reasons. Absent for a
3874
+ # rule with one cause.
3875
+ # @return [String]
3876
+ #
3877
+ # @!attribute [rw] expected
3878
+ # What the rule requires, up to 1,024 characters. Absent when the rule
3879
+ # does not describe it.
3880
+ # @return [String]
3881
+ #
3882
+ # @!attribute [rw] actual
3883
+ # What the rule found, up to 1,024 characters. Absent when the rule
3884
+ # does not describe it.
3885
+ # @return [String]
3886
+ #
3887
+ # @!attribute [rw] remediation
3888
+ # How to resolve the finding, up to 1,024 characters. Absent when the
3889
+ # rule does not describe it.
3890
+ # @return [String]
3891
+ #
3892
+ # @!attribute [rw] evaluated_at
3893
+ # When the finding was opened or its content last changed, to the
3894
+ # second. A change in severity counts as a change in content.
3895
+ # Evaluating an unchanged finding again does not change this time.
3896
+ # @return [Time]
3897
+ #
3898
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/InventoryFinding AWS API Documentation
3899
+ #
3900
+ class InventoryFinding < Struct.new(
3901
+ :finding_id,
3902
+ :certificate_identifier,
3903
+ :rule_id,
3904
+ :severity,
3905
+ :scope,
3906
+ :reason,
3907
+ :expected,
3908
+ :actual,
3909
+ :remediation,
3910
+ :evaluated_at)
3911
+ SENSITIVE = []
3912
+ include Aws::Structure
3913
+ end
3914
+
3915
+ # Options for the HIGHEST\_FINDING\_SEVERITY aggregate.
3916
+ #
3917
+ # @!attribute [rw] group_by
3918
+ # Adds a second breakdown to the result. CERTIFICATE\_TYPE returns the
3919
+ # severity groups of each certificate type, in CertificateTypeGroups.
3920
+ # These come from the same precomputed counts as Groups. The result is
3921
+ # FAILED until the organization's per-type counts have first been
3922
+ # computed. If you omit it, the result has only the severity groups.
3923
+ # @return [String]
3924
+ #
3925
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/InventoryHighestFindingSeverityOptions AWS API Documentation
3926
+ #
3927
+ class InventoryHighestFindingSeverityOptions < Struct.new(
3928
+ :group_by)
3929
+ SENSITIVE = []
3930
+ include Aws::Structure
3931
+ end
3932
+
3933
+ # Options for the IN\_USE aggregate. This aggregate has no options.
3934
+ #
3935
+ # @api private
3936
+ #
3937
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/InventoryInUseOptions AWS API Documentation
3938
+ #
3939
+ class InventoryInUseOptions < Aws::EmptyStructure; end
3940
+
3941
+ # Options for the ISSUANCE\_TYPE aggregate. This aggregate has no
3942
+ # options.
3943
+ #
3944
+ # @api private
3945
+ #
3946
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/InventoryIssuanceTypeOptions AWS API Documentation
3947
+ #
3948
+ class InventoryIssuanceTypeOptions < Aws::EmptyStructure; end
3949
+
3950
+ # Options for the KEY\_ALGORITHM aggregate. This aggregate has no
3951
+ # options.
3952
+ #
3953
+ # @api private
3954
+ #
3955
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/InventoryKeyAlgorithmOptions AWS API Documentation
3956
+ #
3957
+ class InventoryKeyAlgorithmOptions < Aws::EmptyStructure; end
3958
+
3959
+ # The latest verification or delivery outcome for the configured topic.
3960
+ #
3961
+ # @!attribute [rw] status
3962
+ # The latest outcome.
3963
+ # @return [String]
3964
+ #
3965
+ # @!attribute [rw] updated_at
3966
+ # When Status last changed. Can be absent while PENDING\_VERIFICATION.
3967
+ # @return [Time]
3968
+ #
3969
+ # @!attribute [rw] message
3970
+ # Why verification or delivery failed. Present only for
3971
+ # VERIFICATION\_FAILED and DELIVERY\_FAILED.
3972
+ # @return [String]
3973
+ #
3974
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/InventoryNotificationDeliveryStatus AWS API Documentation
3975
+ #
3976
+ class InventoryNotificationDeliveryStatus < Struct.new(
3977
+ :status,
3978
+ :updated_at,
3979
+ :message)
3980
+ SENSITIVE = []
3981
+ include Aws::Structure
3982
+ end
3983
+
3984
+ # Options for the REGION aggregate. This aggregate has no options.
3985
+ #
3986
+ # @api private
3987
+ #
3988
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/InventoryRegionOptions AWS API Documentation
3989
+ #
3990
+ class InventoryRegionOptions < Aws::EmptyStructure; end
3991
+
3992
+ # An AWS Certificate Manager or AWS Private Certificate Authority (AWS
3993
+ # Private CA) resource that a certificate maps to.
3994
+ #
3995
+ # @!attribute [rw] resource_type
3996
+ # The type of the resource.
3997
+ # @return [String]
3998
+ #
3999
+ # @!attribute [rw] resource_arn
4000
+ # The resource's ARN.
4001
+ # @return [String]
4002
+ #
4003
+ # @!attribute [rw] issuance_type
4004
+ # How AWS Certificate Manager holds the certificate. Present only for
4005
+ # ACM\_CERTIFICATE.
4006
+ # @return [String]
4007
+ #
4008
+ # @!attribute [rw] association_status
4009
+ # Whether the ACM certificate still holds this certificate. Present
4010
+ # only for ACM\_CERTIFICATE.
4011
+ # @return [String]
4012
+ #
4013
+ # @!attribute [rw] metadata
4014
+ # What AWS Certificate Manager (ACM) or AWS Private Certificate
4015
+ # Authority (AWS Private CA) reported for the resource named by
4016
+ # ResourceArn, when the inventory last read it. The metadata's
4017
+ # UpdatedAt says when.
4018
+ #
4019
+ # It describes that resource, not necessarily this certificate. After
4020
+ # a renewal or reimport (AssociationStatus REPLACED), an ACM
4021
+ # certificate's metadata describes the certificate it holds now.
4022
+ #
4023
+ # It is a stored copy, not a live read, and can be as old as the
4024
+ # inventory's last read of the resource. Before you act on it, read
4025
+ # ACM or AWS Private CA in the owning account. Absent when the
4026
+ # inventory holds no read of the resource. Always absent for
4027
+ # PCA\_CERTIFICATE.
4028
+ # @return [Types::InventoryRelatedResourceMetadata]
4029
+ #
4030
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/InventoryRelatedResource AWS API Documentation
4031
+ #
4032
+ class InventoryRelatedResource < Struct.new(
4033
+ :resource_type,
4034
+ :resource_arn,
4035
+ :issuance_type,
4036
+ :association_status,
4037
+ :metadata)
4038
+ SENSITIVE = []
4039
+ include Aws::Structure
4040
+ end
4041
+
4042
+ # Metadata for a related resource. Exactly one member is set. The
4043
+ # service sets the member that matches the resource's ResourceType:
4044
+ #
4045
+ # * AcmCertificate for ACM\_CERTIFICATE.
4046
+ # * PcaCertificateAuthority for PCA\_CERTIFICATE\_AUTHORITY.
4047
+ #
4048
+ # Members can be added; clients must accept members they do not know.
4049
+ #
4050
+ # @note InventoryRelatedResourceMetadata is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of InventoryRelatedResourceMetadata corresponding to the set member.
4051
+ #
4052
+ # @!attribute [rw] acm_certificate
4053
+ # Metadata of an ACM\_CERTIFICATE, from ACM DescribeCertificate.
4054
+ # @return [Types::AcmMetadataCertificate]
4055
+ #
4056
+ # @!attribute [rw] pca_certificate_authority
4057
+ # Metadata of a PCA\_CERTIFICATE\_AUTHORITY, from AWS Private
4058
+ # Certificate Authority (AWS Private CA) DescribeCertificateAuthority.
4059
+ # @return [Types::PrivateCaMetadataCertificateAuthority]
4060
+ #
4061
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/InventoryRelatedResourceMetadata AWS API Documentation
4062
+ #
4063
+ class InventoryRelatedResourceMetadata < Struct.new(
4064
+ :acm_certificate,
4065
+ :pca_certificate_authority,
4066
+ :unknown)
4067
+ SENSITIVE = []
4068
+ include Aws::Structure
4069
+ include Aws::Structure::Union
4070
+
4071
+ class AcmCertificate < InventoryRelatedResourceMetadata; end
4072
+ class PcaCertificateAuthority < InventoryRelatedResourceMetadata; end
4073
+ class Unknown < InventoryRelatedResourceMetadata; end
4074
+ end
4075
+
4076
+ # The organization's ACM plan, whether it is in effect yet, and any
4077
+ # scheduled change to it.
4078
+ #
4079
+ # @!attribute [rw] tier
4080
+ # The plan in effect, or, while Status is PENDING, the plan being
4081
+ # applied.
4082
+ # @return [String]
4083
+ #
4084
+ # @!attribute [rw] status
4085
+ # PENDING while a requested plan is not yet in effect, usually for a
4086
+ # few seconds after PutInventoryConfiguration. ACTIVE after the plan
4087
+ # takes effect. A scheduled downgrade or end of the plan shows as
4088
+ # ACTIVE with a ScheduledChange.
4089
+ # @return [String]
4090
+ #
4091
+ # @!attribute [rw] scheduled_change
4092
+ # A change that is scheduled but not yet in effect: a move to a lower
4093
+ # plan, or the end of the plan. Absent when no change is scheduled.
4094
+ # @return [Types::InventoryTierScheduledChange]
4095
+ #
4096
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/InventoryTierConfiguration AWS API Documentation
4097
+ #
4098
+ class InventoryTierConfiguration < Struct.new(
4099
+ :tier,
4100
+ :status,
4101
+ :scheduled_change)
4102
+ SENSITIVE = []
4103
+ include Aws::Structure
4104
+ end
4105
+
4106
+ # A scheduled change to the ACM plan: a move to a lower plan, or the end
4107
+ # of the plan. A move to a higher plan takes effect immediately, so it
4108
+ # is never scheduled.
4109
+ #
4110
+ # @!attribute [rw] tier
4111
+ # The lower plan that takes effect. Absent when the plan ends with no
4112
+ # plan to follow.
4113
+ # @return [String]
4114
+ #
4115
+ # @!attribute [rw] effective_at
4116
+ # When the change takes effect.
4117
+ # @return [Time]
4118
+ #
4119
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/InventoryTierScheduledChange AWS API Documentation
4120
+ #
4121
+ class InventoryTierScheduledChange < Struct.new(
4122
+ :tier,
4123
+ :effective_at)
4124
+ SENSITIVE = []
4125
+ include Aws::Structure
4126
+ end
4127
+
4128
+ # A time range that includes After and excludes Before. Set at least one
4129
+ # of them.
4130
+ #
4131
+ # @!attribute [rw] after
4132
+ # The start of the range, included.
4133
+ # @return [Time]
4134
+ #
4135
+ # @!attribute [rw] before
4136
+ # The end of the range, excluded. Must be later than After.
4137
+ # @return [Time]
4138
+ #
4139
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/InventoryTimeRange AWS API Documentation
4140
+ #
4141
+ class InventoryTimeRange < Struct.new(
4142
+ :after,
4143
+ :before)
4144
+ SENSITIVE = []
4145
+ include Aws::Structure
4146
+ end
4147
+
4148
+ # One place where a certificate was observed in use. This is a record of
4149
+ # what was observed, not an AWS resource.
4150
+ #
4151
+ # @!attribute [rw] certificate_identifier
4152
+ # The identifier of the certificate in use.
4153
+ # @return [String]
4154
+ #
4155
+ # @!attribute [rw] target
4156
+ # Where the certificate is used.
4157
+ # @return [Types::UsageTarget]
4158
+ #
4159
+ # @!attribute [rw] last_observed_at
4160
+ # When the certificate was last observed at the target, to the second.
4161
+ # @return [Time]
4162
+ #
4163
+ # @!attribute [rw] account_id
4164
+ # The account that holds the target. Absent when it is not known.
4165
+ # @return [String]
4166
+ #
4167
+ # @!attribute [rw] region
4168
+ # The Region of the target. Absent for a global resource, such as an
4169
+ # Amazon CloudFront distribution, and when it is not known.
4170
+ # @return [String]
4171
+ #
4172
+ # @!attribute [rw] agent_reported
4173
+ # Detail about a usage that a provider reported. Absent for a usage
4174
+ # that AWS Certificate Manager (ACM) reports.
4175
+ # @return [Types::AgentUsageDetail]
4176
+ #
4177
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/InventoryUsage AWS API Documentation
4178
+ #
4179
+ class InventoryUsage < Struct.new(
4180
+ :certificate_identifier,
4181
+ :target,
4182
+ :last_observed_at,
4183
+ :account_id,
4184
+ :region,
4185
+ :agent_reported)
4186
+ SENSITIVE = []
4187
+ include Aws::Structure
4188
+ end
4189
+
4190
+ # Details of an X.509 certificate.
4191
+ #
4192
+ # @!attribute [rw] issuer
4193
+ # The issuer distinguished name, exactly as in the certificate.
4194
+ # @return [String]
4195
+ #
4196
+ # @!attribute [rw] serial_number
4197
+ # The serial number. Its format is not guaranteed: compare it, but do
4198
+ # not parse it. Its format can differ from the format ACM or AWS
4199
+ # Private CA reports for the same certificate.
4200
+ # @return [String]
4201
+ #
4202
+ # @!attribute [rw] not_before
4203
+ # The start of the validity period.
4204
+ # @return [Time]
4205
+ #
4206
+ # @!attribute [rw] not_after
4207
+ # The end of the validity period.
4208
+ # @return [Time]
4209
+ #
4210
+ # @!attribute [rw] subject_alternative_names
4211
+ # The subject alternative names.
4212
+ # @return [Array<String>]
4213
+ #
4214
+ # @!attribute [rw] key_algorithm
4215
+ # The algorithm of the certificate's public key.
4216
+ # @return [String]
4217
+ #
4218
+ # @!attribute [rw] issuance_type
4219
+ # How the certificate was issued or brought into AWS.
4220
+ # @return [String]
4221
+ #
4222
+ # @!attribute [rw] signature_algorithm
4223
+ # The algorithm the issuer used to sign the certificate, as read from
4224
+ # the certificate, such as SHA256WITHRSA or SHA384WITHECDSA. The
4225
+ # values are not a closed list. Certificates from any issuer can use
4226
+ # any signature algorithm, and new algorithms are added over time.
4227
+ # Absent when the algorithm was not recorded.
4228
+ # @return [String]
4229
+ #
4230
+ # @!attribute [rw] key_size_bits
4231
+ # The size of the public key in bits.
4232
+ # @return [Integer]
4233
+ #
4234
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/InventoryX509Details AWS API Documentation
4235
+ #
4236
+ class InventoryX509Details < Struct.new(
4237
+ :issuer,
4238
+ :serial_number,
4239
+ :not_before,
4240
+ :not_after,
4241
+ :subject_alternative_names,
4242
+ :key_algorithm,
4243
+ :issuance_type,
4244
+ :signature_algorithm,
4245
+ :key_size_bits)
4246
+ SENSITIVE = []
4247
+ include Aws::Structure
4248
+ end
4249
+
4250
+ # The Key Usage X.509 v3 extension defines the purpose of the public key
4251
+ # contained in the certificate.
4252
+ #
4253
+ # @!attribute [rw] name
4254
+ # A string value that contains a Key Usage extension name.
4255
+ # @return [String]
4256
+ #
4257
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/KeyUsage AWS API Documentation
4258
+ #
4259
+ class KeyUsage < Struct.new(
4260
+ :name)
4261
+ SENSITIVE = []
4262
+ include Aws::Structure
4263
+ end
4264
+
4265
+ # Turns Certificate actions for organizations on or off. Certificate
4266
+ # actions are the operations that act on certificates and certificate
4267
+ # authorities in the organization's member accounts. To turn them on,
4268
+ # inventory Status must be ENABLED. Turning them on starts setting up
4269
+ # the access the service needs in every member account. Setup requires
4270
+ # AWS Organizations trusted access; if it is off, setup fails and
4271
+ # LifecycleManagement.ProvisioningStatus is FAILED.
4272
+ #
4273
+ # @!attribute [rw] status
4274
+ # ENABLED turns Certificate actions for organizations on. DISABLED
4275
+ # turns them off.
4276
+ # @return [String]
4277
+ #
4278
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/LifecycleManagement AWS API Documentation
4279
+ #
4280
+ class LifecycleManagement < Struct.new(
4281
+ :status)
4282
+ SENSITIVE = []
4283
+ include Aws::Structure
4284
+ end
4285
+
4286
+ # Whether Certificate actions for organizations are on, and how far
4287
+ # their setup has progressed. Certificate actions are the operations
4288
+ # that act on certificates and certificate authorities in the
4289
+ # organization's member accounts, such as RenewMemberCertificate.
4290
+ #
4291
+ # @!attribute [rw] status
4292
+ # Whether Certificate actions for organizations are on. Certificate
4293
+ # actions are the operations that act on certificates and certificate
4294
+ # authorities in the organization's member accounts, such as
4295
+ # RenewMemberCertificate. DISABLED until they are first turned on.
4296
+ # @return [String]
4297
+ #
4298
+ # @!attribute [rw] provisioning_status
4299
+ # How far setup of Certificate actions for organizations has
4300
+ # progressed in the organization's member accounts.
4301
+ # @return [String]
4302
+ #
4303
+ # @!attribute [rw] provisioning_status_reason
4304
+ # Why setup failed. Present only when ProvisioningStatus is FAILED.
4305
+ # @return [Types::ProvisioningStatusReason]
4306
+ #
4307
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/LifecycleManagementConfiguration AWS API Documentation
4308
+ #
4309
+ class LifecycleManagementConfiguration < Struct.new(
4310
+ :status,
4311
+ :provisioning_status,
4312
+ :provisioning_status_reason)
4313
+ SENSITIVE = []
4314
+ include Aws::Structure
4315
+ end
4316
+
4317
+ # An ACM quota has been exceeded.
4318
+ #
4319
+ # @!attribute [rw] message
4320
+ # @return [String]
4321
+ #
4322
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/LimitExceededException AWS API Documentation
4323
+ #
4324
+ class LimitExceededException < Struct.new(
4325
+ :message)
4326
+ SENSITIVE = []
4327
+ include Aws::Structure
4328
+ end
4329
+
4330
+ # @!attribute [rw] next_token
4331
+ # A token for pagination.
4332
+ # @return [String]
4333
+ #
4334
+ # @!attribute [rw] max_results
4335
+ # The maximum number of results to return.
4336
+ # @return [Integer]
4337
+ #
4338
+ # @!attribute [rw] acme_endpoint_arn
4339
+ # The Amazon Resource Name (ARN) of the ACME endpoint.
4340
+ # @return [String]
4341
+ #
4342
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListAcmeAccountsRequest AWS API Documentation
4343
+ #
4344
+ class ListAcmeAccountsRequest < Struct.new(
4345
+ :next_token,
4346
+ :max_results,
4347
+ :acme_endpoint_arn)
4348
+ SENSITIVE = []
4349
+ include Aws::Structure
4350
+ end
4351
+
4352
+ # @!attribute [rw] acme_accounts
4353
+ # The list of ACME accounts.
4354
+ # @return [Array<Types::AcmeAccountSummary>]
4355
+ #
4356
+ # @!attribute [rw] next_token
4357
+ # A token for pagination.
4358
+ # @return [String]
4359
+ #
4360
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListAcmeAccountsResponse AWS API Documentation
4361
+ #
4362
+ class ListAcmeAccountsResponse < Struct.new(
4363
+ :acme_accounts,
4364
+ :next_token)
4365
+ SENSITIVE = []
4366
+ include Aws::Structure
4367
+ end
4368
+
4369
+ # @!attribute [rw] next_token
4370
+ # A token for pagination.
4371
+ # @return [String]
4372
+ #
4373
+ # @!attribute [rw] max_results
4374
+ # The maximum number of results to return.
4375
+ # @return [Integer]
4376
+ #
4377
+ # @!attribute [rw] acme_endpoint_arn
4378
+ # The Amazon Resource Name (ARN) of the ACME endpoint.
4379
+ # @return [String]
4380
+ #
4381
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListAcmeDomainValidationsRequest AWS API Documentation
4382
+ #
4383
+ class ListAcmeDomainValidationsRequest < Struct.new(
4384
+ :next_token,
4385
+ :max_results,
4386
+ :acme_endpoint_arn)
4387
+ SENSITIVE = []
4388
+ include Aws::Structure
4389
+ end
4390
+
4391
+ # @!attribute [rw] acme_domain_validations
4392
+ # The list of domain validations.
4393
+ # @return [Array<Types::AcmeDomainValidationSummary>]
4394
+ #
4395
+ # @!attribute [rw] next_token
4396
+ # A token for pagination.
4397
+ # @return [String]
4398
+ #
4399
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListAcmeDomainValidationsResponse AWS API Documentation
4400
+ #
4401
+ class ListAcmeDomainValidationsResponse < Struct.new(
4402
+ :acme_domain_validations,
4403
+ :next_token)
4404
+ SENSITIVE = []
4405
+ include Aws::Structure
4406
+ end
4407
+
4408
+ # @!attribute [rw] next_token
4409
+ # A token for pagination.
4410
+ # @return [String]
4411
+ #
4412
+ # @!attribute [rw] max_results
4413
+ # The maximum number of results to return.
4414
+ # @return [Integer]
4415
+ #
4416
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListAcmeEndpointsRequest AWS API Documentation
4417
+ #
4418
+ class ListAcmeEndpointsRequest < Struct.new(
4419
+ :next_token,
4420
+ :max_results)
4421
+ SENSITIVE = []
4422
+ include Aws::Structure
4423
+ end
4424
+
4425
+ # @!attribute [rw] acme_endpoints
4426
+ # The list of ACME endpoints.
4427
+ # @return [Array<Types::AcmeEndpointSummary>]
4428
+ #
4429
+ # @!attribute [rw] next_token
4430
+ # A token for pagination.
4431
+ # @return [String]
4432
+ #
4433
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListAcmeEndpointsResponse AWS API Documentation
4434
+ #
4435
+ class ListAcmeEndpointsResponse < Struct.new(
4436
+ :acme_endpoints,
4437
+ :next_token)
4438
+ SENSITIVE = []
4439
+ include Aws::Structure
4440
+ end
4441
+
4442
+ # @!attribute [rw] next_token
4443
+ # A token for pagination.
4444
+ # @return [String]
4445
+ #
4446
+ # @!attribute [rw] max_results
4447
+ # The maximum number of results to return.
4448
+ # @return [Integer]
4449
+ #
4450
+ # @!attribute [rw] acme_endpoint_arn
4451
+ # The Amazon Resource Name (ARN) of the ACME endpoint.
4452
+ # @return [String]
4453
+ #
4454
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListAcmeExternalAccountBindingsRequest AWS API Documentation
4455
+ #
4456
+ class ListAcmeExternalAccountBindingsRequest < Struct.new(
4457
+ :next_token,
4458
+ :max_results,
4459
+ :acme_endpoint_arn)
4460
+ SENSITIVE = []
4461
+ include Aws::Structure
4462
+ end
4463
+
4464
+ # @!attribute [rw] external_account_bindings
4465
+ # The list of external account bindings.
4466
+ # @return [Array<Types::AcmeExternalAccountBindingSummary>]
4467
+ #
4468
+ # @!attribute [rw] next_token
4469
+ # A token for pagination.
4470
+ # @return [String]
4471
+ #
4472
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListAcmeExternalAccountBindingsResponse AWS API Documentation
4473
+ #
4474
+ class ListAcmeExternalAccountBindingsResponse < Struct.new(
4475
+ :external_account_bindings,
4476
+ :next_token)
4477
+ SENSITIVE = []
4478
+ include Aws::Structure
4479
+ end
4480
+
4481
+ # @!attribute [rw] certificate_arn
4482
+ # The Amazon Resource Name (ARN) of the certificate for which to list
4483
+ # domain validation summaries.
4484
+ # @return [String]
4485
+ #
4486
+ # @!attribute [rw] next_token
4487
+ # A token returned by a previous call to
4488
+ # `ListCertificateDomainValidations`. If the number of results exceeds
4489
+ # `MaxItems`, use this token to retrieve the next page of results.
4490
+ # @return [String]
4491
+ #
4492
+ # @!attribute [rw] max_items
4493
+ # The maximum number of domain validation summaries to return. If you
4494
+ # don't specify a value, the default is 1000.
4495
+ # @return [Integer]
4496
+ #
4497
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListCertificateDomainValidationsRequest AWS API Documentation
4498
+ #
4499
+ class ListCertificateDomainValidationsRequest < Struct.new(
4500
+ :certificate_arn,
4501
+ :next_token,
4502
+ :max_items)
4503
+ SENSITIVE = []
4504
+ include Aws::Structure
4505
+ end
4506
+
4507
+ # @!attribute [rw] domain_validation_summary_list
4508
+ # A list of DomainValidationSummary objects, one for each domain on
4509
+ # the certificate. Each object contains the domain name and its active
4510
+ # and requested validation configurations.
4511
+ # @return [Array<Types::DomainValidationSummary>]
4512
+ #
4513
+ # @!attribute [rw] next_token
4514
+ # If the number of results exceeds `MaxItems`, this token is included
4515
+ # in the response. Use this token in a subsequent
4516
+ # `ListCertificateDomainValidations` request to retrieve the next page
4517
+ # of results.
4518
+ # @return [String]
4519
+ #
4520
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListCertificateDomainValidationsResponse AWS API Documentation
4521
+ #
4522
+ class ListCertificateDomainValidationsResponse < Struct.new(
4523
+ :domain_validation_summary_list,
4524
+ :next_token)
4525
+ SENSITIVE = []
4526
+ include Aws::Structure
4527
+ end
4528
+
2871
4529
  # @!attribute [rw] certificate_statuses
2872
4530
  # Filter the certificate list by status value.
2873
4531
  # @return [Array<String>]
@@ -2952,6 +4610,188 @@ module Aws::ACM
2952
4610
  include Aws::Structure
2953
4611
  end
2954
4612
 
4613
+ # @!attribute [rw] certificate_identifier
4614
+ # The identifier of the certificate whose findings to list, as
4615
+ # SearchInventory returns it.
4616
+ # @return [String]
4617
+ #
4618
+ # @!attribute [rw] severity
4619
+ # Return only findings of this severity. Omit it to return findings of
4620
+ # every severity.
4621
+ # @return [String]
4622
+ #
4623
+ # @!attribute [rw] max_results
4624
+ # The maximum number of findings to return, 1 to 100. Defaults to 25.
4625
+ # @return [Integer]
4626
+ #
4627
+ # @!attribute [rw] next_token
4628
+ # The NextToken from the previous response, to read the next page.
4629
+ # @return [String]
4630
+ #
4631
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListInventoryFindingsInput AWS API Documentation
4632
+ #
4633
+ class ListInventoryFindingsInput < Struct.new(
4634
+ :certificate_identifier,
4635
+ :severity,
4636
+ :max_results,
4637
+ :next_token)
4638
+ SENSITIVE = []
4639
+ include Aws::Structure
4640
+ end
4641
+
4642
+ # @!attribute [rw] findings
4643
+ # The findings on this page. They are sorted by severity, highest
4644
+ # first, then by RuleId in alphabetical order, then in an order unique
4645
+ # to each finding. A later page can start with findings that changed
4646
+ # since the first page was returned. A changed finding that sorts
4647
+ # before the position the NextToken records is returned again once,
4648
+ # with its new values.
4649
+ # @return [Array<Types::InventoryFinding>]
4650
+ #
4651
+ # @!attribute [rw] highest_finding_severity
4652
+ # The certificate's health, as SearchInventory reports it. It is the
4653
+ # highest severity among the certificate's open findings, HEALTHY, or
4654
+ # NOT\_APPLICABLE. It is NOT\_EVALUATED when the certificate's
4655
+ # findings have not been evaluated yet.
4656
+ # @return [String]
4657
+ #
4658
+ # @!attribute [rw] next_token
4659
+ # Pass this value as NextToken to read the next page. Absent on the
4660
+ # last page. The token is opaque; do not parse or build one. A later
4661
+ # page also returns any finding that changed after the first page was
4662
+ # returned.
4663
+ # @return [String]
4664
+ #
4665
+ # @!attribute [rw] total_count
4666
+ # How many findings match in total, not only on this page. Counted
4667
+ # when each page is read, so it can change between pages if the
4668
+ # inventory changes.
4669
+ # @return [Integer]
4670
+ #
4671
+ # @!attribute [rw] total_count_relation
4672
+ # Whether TotalCount is exact or a lower bound.
4673
+ # @return [String]
4674
+ #
4675
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListInventoryFindingsOutput AWS API Documentation
4676
+ #
4677
+ class ListInventoryFindingsOutput < Struct.new(
4678
+ :findings,
4679
+ :highest_finding_severity,
4680
+ :next_token,
4681
+ :total_count,
4682
+ :total_count_relation)
4683
+ SENSITIVE = []
4684
+ include Aws::Structure
4685
+ end
4686
+
4687
+ # @!attribute [rw] certificate_identifier
4688
+ # The identifier of the certificate whose related resources to list,
4689
+ # as SearchInventory returns it.
4690
+ # @return [String]
4691
+ #
4692
+ # @!attribute [rw] max_results
4693
+ # The maximum number of related resources to return, 1 to 100.
4694
+ # Defaults to 25.
4695
+ # @return [Integer]
4696
+ #
4697
+ # @!attribute [rw] next_token
4698
+ # The NextToken from the previous response, to read the next page.
4699
+ # @return [String]
4700
+ #
4701
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListInventoryRelatedResourcesInput AWS API Documentation
4702
+ #
4703
+ class ListInventoryRelatedResourcesInput < Struct.new(
4704
+ :certificate_identifier,
4705
+ :max_results,
4706
+ :next_token)
4707
+ SENSITIVE = []
4708
+ include Aws::Structure
4709
+ end
4710
+
4711
+ # @!attribute [rw] related_resources
4712
+ # The related resources on this page, sorted by ResourceArn in
4713
+ # ascending order.
4714
+ # @return [Array<Types::InventoryRelatedResource>]
4715
+ #
4716
+ # @!attribute [rw] next_token
4717
+ # Pass this value as NextToken to read the next page. Absent on the
4718
+ # last page.
4719
+ # @return [String]
4720
+ #
4721
+ # @!attribute [rw] total_count
4722
+ # How many related resources the certificate has in total, not only on
4723
+ # this page. Counted when each page is read, so it can change between
4724
+ # pages if the inventory changes.
4725
+ # @return [Integer]
4726
+ #
4727
+ # @!attribute [rw] total_count_relation
4728
+ # Whether TotalCount is exact or a lower bound.
4729
+ # @return [String]
4730
+ #
4731
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListInventoryRelatedResourcesOutput AWS API Documentation
4732
+ #
4733
+ class ListInventoryRelatedResourcesOutput < Struct.new(
4734
+ :related_resources,
4735
+ :next_token,
4736
+ :total_count,
4737
+ :total_count_relation)
4738
+ SENSITIVE = []
4739
+ include Aws::Structure
4740
+ end
4741
+
4742
+ # @!attribute [rw] certificate_identifier
4743
+ # The identifier of the certificate whose usages to list, as
4744
+ # SearchInventory returns it.
4745
+ # @return [String]
4746
+ #
4747
+ # @!attribute [rw] max_results
4748
+ # The maximum number of usages to return, 1 to 100. Defaults to 25.
4749
+ # @return [Integer]
4750
+ #
4751
+ # @!attribute [rw] next_token
4752
+ # The NextToken from the previous response, to read the next page.
4753
+ # @return [String]
4754
+ #
4755
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListInventoryUsagesInput AWS API Documentation
4756
+ #
4757
+ class ListInventoryUsagesInput < Struct.new(
4758
+ :certificate_identifier,
4759
+ :max_results,
4760
+ :next_token)
4761
+ SENSITIVE = []
4762
+ include Aws::Structure
4763
+ end
4764
+
4765
+ # @!attribute [rw] usages
4766
+ # The usages on this page, sorted by target in ascending order.
4767
+ # @return [Array<Types::InventoryUsage>]
4768
+ #
4769
+ # @!attribute [rw] next_token
4770
+ # Pass this value as NextToken to read the next page. Absent on the
4771
+ # last page.
4772
+ # @return [String]
4773
+ #
4774
+ # @!attribute [rw] total_count
4775
+ # How many usages the certificate has in total, not only on this page.
4776
+ # Counted when each page is read, so it can change between pages if
4777
+ # the inventory changes.
4778
+ # @return [Integer]
4779
+ #
4780
+ # @!attribute [rw] total_count_relation
4781
+ # Whether TotalCount is exact or a lower bound.
4782
+ # @return [String]
4783
+ #
4784
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListInventoryUsagesOutput AWS API Documentation
4785
+ #
4786
+ class ListInventoryUsagesOutput < Struct.new(
4787
+ :usages,
4788
+ :next_token,
4789
+ :total_count,
4790
+ :total_count_relation)
4791
+ SENSITIVE = []
4792
+ include Aws::Structure
4793
+ end
4794
+
2955
4795
  # @!attribute [rw] certificate_arn
2956
4796
  # String that contains the ARN of the ACM certificate for which you
2957
4797
  # want to list the tags. This must have the following form:
@@ -3010,71 +4850,309 @@ module Aws::ACM
3010
4850
  include Aws::Structure
3011
4851
  end
3012
4852
 
3013
- # Defines a custom ASN.1 X.400 `GeneralName` using an object identifier
3014
- # (OID) and value. For more information, see NIST's definition of
3015
- # [Object Identifier (OID)][1].
3016
- #
4853
+ # Defines a custom ASN.1 X.400 `GeneralName` using an object identifier
4854
+ # (OID) and value. For more information, see NIST's definition of
4855
+ # [Object Identifier (OID)][1].
4856
+ #
4857
+ #
4858
+ #
4859
+ # [1]: https://csrc.nist.gov/glossary/term/Object_Identifier
4860
+ #
4861
+ # @!attribute [rw] object_identifier
4862
+ # Specifies an OID.
4863
+ # @return [String]
4864
+ #
4865
+ # @!attribute [rw] value
4866
+ # Specifies an OID value.
4867
+ # @return [String]
4868
+ #
4869
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/OtherName AWS API Documentation
4870
+ #
4871
+ class OtherName < Struct.new(
4872
+ :object_identifier,
4873
+ :value)
4874
+ SENSITIVE = []
4875
+ include Aws::Structure
4876
+ end
4877
+
4878
+ # Contains details about the prevalidation configuration.
4879
+ #
4880
+ # @note PrevalidationDetails is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of PrevalidationDetails corresponding to the set member.
4881
+ #
4882
+ # @!attribute [rw] dns_prevalidation
4883
+ # DNS-based prevalidation details.
4884
+ # @return [Types::DnsPrevalidationDetails]
4885
+ #
4886
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/PrevalidationDetails AWS API Documentation
4887
+ #
4888
+ class PrevalidationDetails < Struct.new(
4889
+ :dns_prevalidation,
4890
+ :unknown)
4891
+ SENSITIVE = []
4892
+ include Aws::Structure
4893
+ include Aws::Structure::Union
4894
+
4895
+ class DnsPrevalidation < PrevalidationDetails; end
4896
+ class Unknown < PrevalidationDetails; end
4897
+ end
4898
+
4899
+ # Specifies prevalidation options for domain validation.
4900
+ #
4901
+ # @note PrevalidationOptions is a union - when making an API calls you must set exactly one of the members.
4902
+ #
4903
+ # @!attribute [rw] dns_prevalidation
4904
+ # DNS-based prevalidation options.
4905
+ # @return [Types::DnsPrevalidationOptions]
4906
+ #
4907
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/PrevalidationOptions AWS API Documentation
4908
+ #
4909
+ class PrevalidationOptions < Struct.new(
4910
+ :dns_prevalidation,
4911
+ :unknown)
4912
+ SENSITIVE = []
4913
+ include Aws::Structure
4914
+ include Aws::Structure::Union
4915
+
4916
+ class DnsPrevalidation < PrevalidationOptions; end
4917
+ class Unknown < PrevalidationOptions; end
4918
+ end
4919
+
4920
+ # An AWS Private Certificate Authority (AWS Private CA) certificate
4921
+ # authority ARN and how certificates relate to it. ISSUED\_BY matches
4922
+ # the certificates the certificate authority issued. CA\_CERTIFICATE
4923
+ # matches the certificate authority's own certificate. Both reflect the
4924
+ # inventory as of its last update of each certificate. An ARN the
4925
+ # inventory has not collected matches nothing.
4926
+ #
4927
+ # @!attribute [rw] value
4928
+ # The ARN of the AWS Private CA certificate authority.
4929
+ # @return [String]
4930
+ #
4931
+ # @!attribute [rw] relationship
4932
+ # How a matching certificate relates to the certificate authority.
4933
+ # @return [String]
4934
+ #
4935
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/PrivateCaCertificateAuthorityArnPredicate AWS API Documentation
4936
+ #
4937
+ class PrivateCaCertificateAuthorityArnPredicate < Struct.new(
4938
+ :value,
4939
+ :relationship)
4940
+ SENSITIVE = []
4941
+ include Aws::Structure
4942
+ end
4943
+
4944
+ # A certificate authority's certificate revocation list (CRL), as in
4945
+ # the CrlConfiguration type of AWS Private Certificate Authority (AWS
4946
+ # Private CA). For details, see CrlConfiguration in the AWS Private CA
4947
+ # API Reference. AWS Private CA writes CRLs to the Amazon S3 bucket
4948
+ # named by S3BucketName in its own CrlConfiguration, which you set with
4949
+ # AWS Private CA in the member account.
4950
+ #
4951
+ # @!attribute [rw] enabled
4952
+ # Whether the certificate authority publishes a CRL.
4953
+ # @return [Boolean]
4954
+ #
4955
+ # @!attribute [rw] expiration_in_days
4956
+ # How many days a published CRL is valid, 1 to 5,000.
4957
+ # @return [Integer]
4958
+ #
4959
+ # @!attribute [rw] custom_cname
4960
+ # A DNS name that certificates name as the CRL distribution point in
4961
+ # place of the Amazon S3 bucket's name.
4962
+ # @return [String]
4963
+ #
4964
+ # @!attribute [rw] s3_object_acl
4965
+ # Who can read the CRL object in the Amazon S3 bucket.
4966
+ # @return [String]
4967
+ #
4968
+ # @!attribute [rw] crl_distribution_point_extension_configuration
4969
+ # Whether certificates the certificate authority issues name the CRL
4970
+ # distribution point.
4971
+ # @return [Types::PrivateCaCrlDistributionPointExtensionConfiguration]
4972
+ #
4973
+ # @!attribute [rw] crl_type
4974
+ # Whether the certificate authority publishes one complete CRL or
4975
+ # partitioned CRLs.
4976
+ # @return [String]
4977
+ #
4978
+ # @!attribute [rw] custom_path
4979
+ # The path of the CRL in the Amazon S3 bucket.
4980
+ # @return [String]
4981
+ #
4982
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/PrivateCaCrlConfiguration AWS API Documentation
4983
+ #
4984
+ class PrivateCaCrlConfiguration < Struct.new(
4985
+ :enabled,
4986
+ :expiration_in_days,
4987
+ :custom_cname,
4988
+ :s3_object_acl,
4989
+ :crl_distribution_point_extension_configuration,
4990
+ :crl_type,
4991
+ :custom_path)
4992
+ SENSITIVE = []
4993
+ include Aws::Structure
4994
+ end
4995
+
4996
+ # Whether issued certificates name the CRL distribution point, as in the
4997
+ # CrlDistributionPointExtensionConfiguration type of AWS Private
4998
+ # Certificate Authority (AWS Private CA).
4999
+ #
5000
+ # @!attribute [rw] omit_extension
5001
+ # When true, certificates the certificate authority issues leave out
5002
+ # the CRL distribution point extension.
5003
+ # @return [Boolean]
5004
+ #
5005
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/PrivateCaCrlDistributionPointExtensionConfiguration AWS API Documentation
5006
+ #
5007
+ class PrivateCaCrlDistributionPointExtensionConfiguration < Struct.new(
5008
+ :omit_extension)
5009
+ SENSITIVE = []
5010
+ include Aws::Structure
5011
+ end
5012
+
5013
+ # What AWS Private Certificate Authority (AWS Private CA)
5014
+ # DescribeCertificateAuthority reported for a certificate authority when
5015
+ # the inventory read it. Members keep the names AWS Private CA uses in
5016
+ # CertificateAuthority. A member is absent when AWS Private CA did not
5017
+ # report it in that read.
5018
+ #
5019
+ # @!attribute [rw] updated_at
5020
+ # When the inventory last read this from AWS Private CA, in UTC. This
5021
+ # is the inventory's time, not a time AWS Private CA reports.
5022
+ # @return [Time]
5023
+ #
5024
+ # @!attribute [rw] status
5025
+ # AWS Private CA Status: where the certificate authority is in its
5026
+ # lifecycle. Some values might never appear here, because the
5027
+ # inventory records only the certificate authorities it tracks.
5028
+ # @return [String]
5029
+ #
5030
+ # @!attribute [rw] type
5031
+ # AWS Private CA Type: root or subordinate.
5032
+ # @return [String]
5033
+ #
5034
+ # @!attribute [rw] usage_mode
5035
+ # AWS Private CA UsageMode: what certificates the certificate
5036
+ # authority issues.
5037
+ # @return [String]
5038
+ #
5039
+ # @!attribute [rw] key_storage_security_standard
5040
+ # AWS Private CA KeyStorageSecurityStandard: how the certificate
5041
+ # authority's private key is stored.
5042
+ # @return [String]
5043
+ #
5044
+ # @!attribute [rw] serial
5045
+ # AWS Private CA Serial: the serial number of the certificate
5046
+ # authority's certificate, as AWS Private CA reports it.
5047
+ # @return [String]
5048
+ #
5049
+ # @!attribute [rw] not_before
5050
+ # AWS Private CA NotBefore: the start of the validity period of the
5051
+ # certificate authority's certificate.
5052
+ # @return [Time]
5053
+ #
5054
+ # @!attribute [rw] not_after
5055
+ # AWS Private CA NotAfter: the end of the validity period of the
5056
+ # certificate authority's certificate.
5057
+ # @return [Time]
5058
+ #
5059
+ # @!attribute [rw] created_at
5060
+ # AWS Private CA CreatedAt: when the certificate authority was
5061
+ # created.
5062
+ # @return [Time]
5063
+ #
5064
+ # @!attribute [rw] last_state_change_at
5065
+ # AWS Private CA LastStateChangeAt: when the certificate authority's
5066
+ # Status last changed.
5067
+ # @return [Time]
5068
+ #
5069
+ # @!attribute [rw] restorable_until
5070
+ # AWS Private CA RestorableUntil: until when a deleted certificate
5071
+ # authority can be restored. Present only when Status is DELETED.
5072
+ # @return [Time]
5073
+ #
5074
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/PrivateCaMetadataCertificateAuthority AWS API Documentation
5075
+ #
5076
+ class PrivateCaMetadataCertificateAuthority < Struct.new(
5077
+ :updated_at,
5078
+ :status,
5079
+ :type,
5080
+ :usage_mode,
5081
+ :key_storage_security_standard,
5082
+ :serial,
5083
+ :not_before,
5084
+ :not_after,
5085
+ :created_at,
5086
+ :last_state_change_at,
5087
+ :restorable_until)
5088
+ SENSITIVE = []
5089
+ include Aws::Structure
5090
+ end
5091
+
5092
+ # A certificate authority's Online Certificate Status Protocol (OCSP)
5093
+ # support, as in the OcspConfiguration type of AWS Private Certificate
5094
+ # Authority (AWS Private CA). For details, see OcspConfiguration in the
5095
+ # AWS Private CA API Reference.
3017
5096
  #
5097
+ # @!attribute [rw] enabled
5098
+ # Whether the certificate authority answers OCSP requests.
5099
+ # @return [Boolean]
3018
5100
  #
3019
- # [1]: https://csrc.nist.gov/glossary/term/Object_Identifier
3020
- #
3021
- # @!attribute [rw] object_identifier
3022
- # Specifies an OID.
3023
- # @return [String]
3024
- #
3025
- # @!attribute [rw] value
3026
- # Specifies an OID value.
5101
+ # @!attribute [rw] ocsp_custom_cname
5102
+ # A DNS name that certificates name as the OCSP responder in place of
5103
+ # the AWS Private CA endpoint.
3027
5104
  # @return [String]
3028
5105
  #
3029
- # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/OtherName AWS API Documentation
5106
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/PrivateCaOcspConfiguration AWS API Documentation
3030
5107
  #
3031
- class OtherName < Struct.new(
3032
- :object_identifier,
3033
- :value)
5108
+ class PrivateCaOcspConfiguration < Struct.new(
5109
+ :enabled,
5110
+ :ocsp_custom_cname)
3034
5111
  SENSITIVE = []
3035
5112
  include Aws::Structure
3036
5113
  end
3037
5114
 
3038
- # Contains details about the prevalidation configuration.
5115
+ # How a certificate authority publishes revocation information, as in
5116
+ # the RevocationConfiguration type of AWS Private Certificate Authority
5117
+ # (AWS Private CA). For details, see RevocationConfiguration in the AWS
5118
+ # Private CA API Reference.
3039
5119
  #
3040
- # @note PrevalidationDetails is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of PrevalidationDetails corresponding to the set member.
5120
+ # @!attribute [rw] crl_configuration
5121
+ # The certificate revocation list (CRL) the certificate authority
5122
+ # maintains, if any.
5123
+ # @return [Types::PrivateCaCrlConfiguration]
3041
5124
  #
3042
- # @!attribute [rw] dns_prevalidation
3043
- # DNS-based prevalidation details.
3044
- # @return [Types::DnsPrevalidationDetails]
5125
+ # @!attribute [rw] ocsp_configuration
5126
+ # The Online Certificate Status Protocol (OCSP) support the
5127
+ # certificate authority provides, if any.
5128
+ # @return [Types::PrivateCaOcspConfiguration]
3045
5129
  #
3046
- # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/PrevalidationDetails AWS API Documentation
5130
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/PrivateCaRevocationConfiguration AWS API Documentation
3047
5131
  #
3048
- class PrevalidationDetails < Struct.new(
3049
- :dns_prevalidation,
3050
- :unknown)
5132
+ class PrivateCaRevocationConfiguration < Struct.new(
5133
+ :crl_configuration,
5134
+ :ocsp_configuration)
3051
5135
  SENSITIVE = []
3052
5136
  include Aws::Structure
3053
- include Aws::Structure::Union
3054
-
3055
- class DnsPrevalidation < PrevalidationDetails; end
3056
- class Unknown < PrevalidationDetails; end
3057
5137
  end
3058
5138
 
3059
- # Specifies prevalidation options for domain validation.
5139
+ # Why provisioning failed.
3060
5140
  #
3061
- # @note PrevalidationOptions is a union - when making an API calls you must set exactly one of the members.
5141
+ # @!attribute [rw] code
5142
+ # The cause, as a code.
5143
+ # @return [String]
3062
5144
  #
3063
- # @!attribute [rw] dns_prevalidation
3064
- # DNS-based prevalidation options.
3065
- # @return [Types::DnsPrevalidationOptions]
5145
+ # @!attribute [rw] message
5146
+ # The cause and what to do about it, for a person to read.
5147
+ # @return [String]
3066
5148
  #
3067
- # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/PrevalidationOptions AWS API Documentation
5149
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ProvisioningStatusReason AWS API Documentation
3068
5150
  #
3069
- class PrevalidationOptions < Struct.new(
3070
- :dns_prevalidation,
3071
- :unknown)
5151
+ class ProvisioningStatusReason < Struct.new(
5152
+ :code,
5153
+ :message)
3072
5154
  SENSITIVE = []
3073
5155
  include Aws::Structure
3074
- include Aws::Structure::Union
3075
-
3076
- class DnsPrevalidation < PrevalidationOptions; end
3077
- class Unknown < PrevalidationOptions; end
3078
5156
  end
3079
5157
 
3080
5158
  # Configuration for a public certificate authority.
@@ -3114,6 +5192,113 @@ module Aws::ACM
3114
5192
  include Aws::Structure
3115
5193
  end
3116
5194
 
5195
+ # @!attribute [rw] regional_scope
5196
+ # The Regions to collect from.
5197
+ # @return [Types::RegionalScope]
5198
+ #
5199
+ # @!attribute [rw] account_scope
5200
+ # The accounts to collect from.
5201
+ # @return [Types::AccountScope]
5202
+ #
5203
+ # @!attribute [rw] data_retention_days
5204
+ # How many days inventory data is kept, 90 to 365. When omitted,
5205
+ # retention is set to 90 days, even if a different value is stored.
5206
+ # @return [Integer]
5207
+ #
5208
+ # @!attribute [rw] status
5209
+ # ENABLED turns collection on. DISABLED turns collection off and keeps
5210
+ # an existing configuration.
5211
+ #
5212
+ # If the organization has an ACM plan, DISABLED instead ends the plan
5213
+ # at the end of the billing period. Collection stays on until then,
5214
+ # and the configuration's Status stays ENABLED. To see when the plan
5215
+ # ends, read InventoryTierConfiguration.ScheduledChange with
5216
+ # GetInventoryConfiguration. Certificate actions for organizations
5217
+ # still turn off immediately. Without a plan, DISABLED turns
5218
+ # collection off immediately.
5219
+ #
5220
+ # DISABLED cannot create the organization's first configuration.
5221
+ # @return [String]
5222
+ #
5223
+ # @!attribute [rw] lifecycle_management
5224
+ # Turns Certificate actions for organizations on or off. Certificate
5225
+ # actions are the operations that act on certificates and certificate
5226
+ # authorities in the organization's member accounts, such as
5227
+ # RenewMemberCertificate. Omit it to keep the stored value.
5228
+ # @return [Types::LifecycleManagement]
5229
+ #
5230
+ # @!attribute [rw] expiry_notification
5231
+ # Certificate expiry notifications. Omit it to keep the stored
5232
+ # setting. Set Enabled to false to turn notifications off. Members you
5233
+ # leave out of ExpiryNotification take their defaults.
5234
+ # @return [Types::InventoryExpiryNotification]
5235
+ #
5236
+ # @!attribute [rw] inventory_tier
5237
+ # The organization's ACM plan: Essentials or Pro. This API calls the
5238
+ # ACM plan the inventory tier. Omit it to keep the current plan. With
5239
+ # Status ENABLED, this is the plan to subscribe to. While the
5240
+ # organization has no plan, such as on the first call, a call with
5241
+ # Status ENABLED must name one. Otherwise, it returns
5242
+ # ValidationException. With Status DISABLED, it is ignored, and the
5243
+ # plan ends at the end of the billing period.
5244
+ #
5245
+ # Only the organization's management account can start, change, or
5246
+ # end the plan. A delegated administrator call that would do so
5247
+ # returns AccessDeniedException, even when its IAM policy allows the
5248
+ # action. PutInventoryConfiguration never returns the plan.
5249
+ #
5250
+ # A template or script that always sends the same plan undoes a plan
5251
+ # set another way. For example, it changes an upgrade made in the
5252
+ # console back to the plan it sends. To leave the plan as it is, omit
5253
+ # InventoryTier.
5254
+ # @return [String]
5255
+ #
5256
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/PutInventoryConfigurationInput AWS API Documentation
5257
+ #
5258
+ class PutInventoryConfigurationInput < Struct.new(
5259
+ :regional_scope,
5260
+ :account_scope,
5261
+ :data_retention_days,
5262
+ :status,
5263
+ :lifecycle_management,
5264
+ :expiry_notification,
5265
+ :inventory_tier)
5266
+ SENSITIVE = []
5267
+ include Aws::Structure
5268
+ end
5269
+
5270
+ # @!attribute [rw] configuration
5271
+ # The configuration as stored.
5272
+ # @return [Types::InventoryConfiguration]
5273
+ #
5274
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/PutInventoryConfigurationOutput AWS API Documentation
5275
+ #
5276
+ class PutInventoryConfigurationOutput < Struct.new(
5277
+ :configuration)
5278
+ SENSITIVE = []
5279
+ include Aws::Structure
5280
+ end
5281
+
5282
+ # The Regions to collect from.
5283
+ #
5284
+ # @!attribute [rw] mode
5285
+ # How the Regions list is applied.
5286
+ # @return [String]
5287
+ #
5288
+ # @!attribute [rw] regions
5289
+ # The Regions to include or exclude. Required when Mode is INCLUDE or
5290
+ # EXCLUDE, and not allowed when Mode is ALL\_REGIONS.
5291
+ # @return [Array<String>]
5292
+ #
5293
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RegionalScope AWS API Documentation
5294
+ #
5295
+ class RegionalScope < Struct.new(
5296
+ :mode,
5297
+ :regions)
5298
+ SENSITIVE = []
5299
+ include Aws::Structure
5300
+ end
5301
+
3117
5302
  # @!attribute [rw] certificate_arn
3118
5303
  # String that contains the ARN of the ACM Certificate with one or more
3119
5304
  # tags that you want to remove. This must be of the form:
@@ -3163,6 +5348,22 @@ module Aws::ACM
3163
5348
  include Aws::Structure
3164
5349
  end
3165
5350
 
5351
+ # @!attribute [rw] certificate_arn
5352
+ # The ARN of the certificate to renew.
5353
+ # @return [String]
5354
+ #
5355
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RenewMemberCertificateInput AWS API Documentation
5356
+ #
5357
+ class RenewMemberCertificateInput < Struct.new(
5358
+ :certificate_arn)
5359
+ SENSITIVE = []
5360
+ include Aws::Structure
5361
+ end
5362
+
5363
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RenewMemberCertificateOutput AWS API Documentation
5364
+ #
5365
+ class RenewMemberCertificateOutput < Aws::EmptyStructure; end
5366
+
3166
5367
  # Contains information about the status of ACM's [managed renewal][1]
3167
5368
  # for the certificate. This structure exists only when the certificate
3168
5369
  # type is `AMAZON_ISSUED`.
@@ -3517,6 +5718,25 @@ module Aws::ACM
3517
5718
  include Aws::Structure
3518
5719
  end
3519
5720
 
5721
+ # A target without an ARN, named by its type and identifier.
5722
+ #
5723
+ # @!attribute [rw] resource_type
5724
+ # The type of the target.
5725
+ # @return [String]
5726
+ #
5727
+ # @!attribute [rw] value
5728
+ # The target's identifier, such as a host name.
5729
+ # @return [String]
5730
+ #
5731
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ResourceIdentifier AWS API Documentation
5732
+ #
5733
+ class ResourceIdentifier < Struct.new(
5734
+ :resource_type,
5735
+ :value)
5736
+ SENSITIVE = []
5737
+ include Aws::Structure
5738
+ end
5739
+
3520
5740
  # The certificate is in use by another Amazon Web Services service in
3521
5741
  # the caller's account. Remove the association and try again.
3522
5742
  #
@@ -3572,6 +5792,22 @@ module Aws::ACM
3572
5792
  include Aws::Structure
3573
5793
  end
3574
5794
 
5795
+ # @!attribute [rw] certificate_authority_arn
5796
+ # The ARN of the certificate authority to restore.
5797
+ # @return [String]
5798
+ #
5799
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RestoreMemberCertificateAuthorityInput AWS API Documentation
5800
+ #
5801
+ class RestoreMemberCertificateAuthorityInput < Struct.new(
5802
+ :certificate_authority_arn)
5803
+ SENSITIVE = []
5804
+ include Aws::Structure
5805
+ end
5806
+
5807
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RestoreMemberCertificateAuthorityOutput AWS API Documentation
5808
+ #
5809
+ class RestoreMemberCertificateAuthorityOutput < Aws::EmptyStructure; end
5810
+
3575
5811
  # @!attribute [rw] acme_endpoint_arn
3576
5812
  # The Amazon Resource Name (ARN) of the ACME endpoint.
3577
5813
  # @return [String]
@@ -3635,6 +5871,61 @@ module Aws::ACM
3635
5871
  include Aws::Structure
3636
5872
  end
3637
5873
 
5874
+ # @!attribute [rw] certificate_arn
5875
+ # The ARN of the certificate to revoke.
5876
+ # @return [String]
5877
+ #
5878
+ # @!attribute [rw] revocation_reason
5879
+ # Why the certificate is revoked.
5880
+ # @return [String]
5881
+ #
5882
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RevokeMemberCertificateInput AWS API Documentation
5883
+ #
5884
+ class RevokeMemberCertificateInput < Struct.new(
5885
+ :certificate_arn,
5886
+ :revocation_reason)
5887
+ SENSITIVE = []
5888
+ include Aws::Structure
5889
+ end
5890
+
5891
+ # @!attribute [rw] certificate_arn
5892
+ # The ARN of the revoked certificate, as ACM returns it.
5893
+ # @return [String]
5894
+ #
5895
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RevokeMemberCertificateOutput AWS API Documentation
5896
+ #
5897
+ class RevokeMemberCertificateOutput < Struct.new(
5898
+ :certificate_arn)
5899
+ SENSITIVE = []
5900
+ include Aws::Structure
5901
+ end
5902
+
5903
+ # @!attribute [rw] certificate_authority_arn
5904
+ # The ARN of the certificate authority that issued the certificate.
5905
+ # @return [String]
5906
+ #
5907
+ # @!attribute [rw] certificate_serial
5908
+ # The serial number of the certificate to revoke.
5909
+ # @return [String]
5910
+ #
5911
+ # @!attribute [rw] revocation_reason
5912
+ # Why the certificate is revoked.
5913
+ # @return [String]
5914
+ #
5915
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RevokeMemberIssuedCertificateInput AWS API Documentation
5916
+ #
5917
+ class RevokeMemberIssuedCertificateInput < Struct.new(
5918
+ :certificate_authority_arn,
5919
+ :certificate_serial,
5920
+ :revocation_reason)
5921
+ SENSITIVE = []
5922
+ include Aws::Structure
5923
+ end
5924
+
5925
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RevokeMemberIssuedCertificateOutput AWS API Documentation
5926
+ #
5927
+ class RevokeMemberIssuedCertificateOutput < Aws::EmptyStructure; end
5928
+
3638
5929
  # @!attribute [rw] filter_statement
3639
5930
  # A filter statement that defines the search criteria. You can combine
3640
5931
  # multiple filters using AND, OR, and NOT logical operators to create
@@ -3698,6 +5989,93 @@ module Aws::ACM
3698
5989
  include Aws::Structure
3699
5990
  end
3700
5991
 
5992
+ # @!attribute [rw] filter
5993
+ # Which certificates to return. Omit it to return every certificate.
5994
+ # @return [Types::InventoryFilterStatement]
5995
+ #
5996
+ # @!attribute [rw] sort_by
5997
+ # The field to sort by. Defaults to NOT\_AFTER.
5998
+ # @return [String]
5999
+ #
6000
+ # @!attribute [rw] sort_order
6001
+ # The sort direction. Defaults to DESCENDING.
6002
+ # @return [String]
6003
+ #
6004
+ # @!attribute [rw] max_results
6005
+ # The maximum number of certificates to return, 1 to 100. Defaults to
6006
+ # 25.
6007
+ # @return [Integer]
6008
+ #
6009
+ # @!attribute [rw] next_token
6010
+ # The NextToken from the previous response, to read the next page.
6011
+ # @return [String]
6012
+ #
6013
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/SearchInventoryInput AWS API Documentation
6014
+ #
6015
+ class SearchInventoryInput < Struct.new(
6016
+ :filter,
6017
+ :sort_by,
6018
+ :sort_order,
6019
+ :max_results,
6020
+ :next_token)
6021
+ SENSITIVE = []
6022
+ include Aws::Structure
6023
+ end
6024
+
6025
+ # @!attribute [rw] certificates
6026
+ # The certificates on this page, in the requested order.
6027
+ # @return [Array<Types::InventoryCertificate>]
6028
+ #
6029
+ # @!attribute [rw] next_token
6030
+ # Pass this value as NextToken to read the next page. Absent on the
6031
+ # last page.
6032
+ # @return [String]
6033
+ #
6034
+ # @!attribute [rw] total_count
6035
+ # How many certificates match the filter in total, not only on this
6036
+ # page. Counted when each page is read, so it can change between pages
6037
+ # if the inventory changes.
6038
+ # @return [Integer]
6039
+ #
6040
+ # @!attribute [rw] total_count_relation
6041
+ # Whether TotalCount is exact or a lower bound.
6042
+ # @return [String]
6043
+ #
6044
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/SearchInventoryOutput AWS API Documentation
6045
+ #
6046
+ class SearchInventoryOutput < Struct.new(
6047
+ :certificates,
6048
+ :next_token,
6049
+ :total_count,
6050
+ :total_count_relation)
6051
+ SENSITIVE = []
6052
+ include Aws::Structure
6053
+ end
6054
+
6055
+ # The ACM certificate a finding was evaluated on.
6056
+ #
6057
+ # @!attribute [rw] certificate_arn
6058
+ # The ARN of the ACM certificate.
6059
+ # @return [String]
6060
+ #
6061
+ # @!attribute [rw] account_id
6062
+ # The account that holds the ACM certificate.
6063
+ # @return [String]
6064
+ #
6065
+ # @!attribute [rw] region
6066
+ # The Region of the ACM certificate.
6067
+ # @return [String]
6068
+ #
6069
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/SeriesFindingContext AWS API Documentation
6070
+ #
6071
+ class SeriesFindingContext < Struct.new(
6072
+ :certificate_arn,
6073
+ :account_id,
6074
+ :region)
6075
+ SENSITIVE = []
6076
+ include Aws::Structure
6077
+ end
6078
+
3701
6079
  # A service quota has been exceeded.
3702
6080
  #
3703
6081
  # @!attribute [rw] message
@@ -3964,6 +6342,58 @@ module Aws::ACM
3964
6342
  include Aws::Structure
3965
6343
  end
3966
6344
 
6345
+ # @!attribute [rw] certificate_authority_arn
6346
+ # The ARN of the certificate authority to update.
6347
+ # @return [String]
6348
+ #
6349
+ # @!attribute [rw] status
6350
+ # The status to set. If you omit it, the status is unchanged. AWS
6351
+ # Private Certificate Authority (AWS Private CA) decides which values
6352
+ # it accepts; see UpdateCertificateAuthority in the AWS Private CA API
6353
+ # Reference.
6354
+ # @return [String]
6355
+ #
6356
+ # @!attribute [rw] revocation_configuration
6357
+ # The revocation configuration to set. If you omit it, the
6358
+ # configuration is unchanged.
6359
+ # @return [Types::PrivateCaRevocationConfiguration]
6360
+ #
6361
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/UpdateMemberCertificateAuthorityInput AWS API Documentation
6362
+ #
6363
+ class UpdateMemberCertificateAuthorityInput < Struct.new(
6364
+ :certificate_authority_arn,
6365
+ :status,
6366
+ :revocation_configuration)
6367
+ SENSITIVE = []
6368
+ include Aws::Structure
6369
+ end
6370
+
6371
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/UpdateMemberCertificateAuthorityOutput AWS API Documentation
6372
+ #
6373
+ class UpdateMemberCertificateAuthorityOutput < Aws::EmptyStructure; end
6374
+
6375
+ # @!attribute [rw] certificate_arn
6376
+ # The ARN of the certificate to update.
6377
+ # @return [String]
6378
+ #
6379
+ # @!attribute [rw] options
6380
+ # The options to set. Set at least one. An option you omit is not sent
6381
+ # to ACM, so it is unchanged.
6382
+ # @return [Types::AcmCertificateOptions]
6383
+ #
6384
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/UpdateMemberCertificateOptionsInput AWS API Documentation
6385
+ #
6386
+ class UpdateMemberCertificateOptionsInput < Struct.new(
6387
+ :certificate_arn,
6388
+ :options)
6389
+ SENSITIVE = []
6390
+ include Aws::Structure
6391
+ end
6392
+
6393
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/UpdateMemberCertificateOptionsOutput AWS API Documentation
6394
+ #
6395
+ class UpdateMemberCertificateOptionsOutput < Aws::EmptyStructure; end
6396
+
3967
6397
  # Contains information about the most recent certificate update, such as
3968
6398
  # a domain validation method migration. This structure is returned as
3969
6399
  # part of the CertificateDetail response from DescribeCertificate.
@@ -4015,6 +6445,34 @@ module Aws::ACM
4015
6445
  include Aws::Structure
4016
6446
  end
4017
6447
 
6448
+ # Where a certificate is used. Exactly one member is set.
6449
+ #
6450
+ # @note UsageTarget is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of UsageTarget corresponding to the set member.
6451
+ #
6452
+ # @!attribute [rw] arn
6453
+ # The ARN of the resource the certificate is attached to, such as a
6454
+ # load balancer.
6455
+ # @return [String]
6456
+ #
6457
+ # @!attribute [rw] resource_identifier
6458
+ # The type and identifier of a target that has no ARN.
6459
+ # @return [Types::ResourceIdentifier]
6460
+ #
6461
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/UsageTarget AWS API Documentation
6462
+ #
6463
+ class UsageTarget < Struct.new(
6464
+ :arn,
6465
+ :resource_identifier,
6466
+ :unknown)
6467
+ SENSITIVE = []
6468
+ include Aws::Structure
6469
+ include Aws::Structure::Union
6470
+
6471
+ class Arn < UsageTarget; end
6472
+ class ResourceIdentifier < UsageTarget; end
6473
+ class Unknown < UsageTarget; end
6474
+ end
6475
+
4018
6476
  # Contains the challenge details that you use to prove domain ownership.
4019
6477
  # Only one member is set, depending on the validation method.
4020
6478
  #
@@ -4105,6 +6563,25 @@ module Aws::ACM
4105
6563
  include Aws::Structure
4106
6564
  end
4107
6565
 
6566
+ # When a certificate is valid.
6567
+ #
6568
+ # @!attribute [rw] not_before
6569
+ # The start of the validity period.
6570
+ # @return [Time]
6571
+ #
6572
+ # @!attribute [rw] not_after
6573
+ # The end of the validity period.
6574
+ # @return [Time]
6575
+ #
6576
+ # @see http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ValidityWindow AWS API Documentation
6577
+ #
6578
+ class ValidityWindow < Struct.new(
6579
+ :not_before,
6580
+ :not_after)
6581
+ SENSITIVE = []
6582
+ include Aws::Structure
6583
+ end
6584
+
4108
6585
  # Filters certificates by X.509 attributes.
4109
6586
  #
4110
6587
  # @note X509AttributeFilter is a union - when making an API calls you must set exactly one of the members.