![]() |
![]()
| ![]() |
![]()
NAMEPaws::ACMPCA::Validity USAGEThis class represents one of two things: Arguments in a call to a service Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object. As an example, if Att1 is expected to be a Paws::ACMPCA::Validity object: $service_obj->Method(Att1 => { Type => $value, ..., Value => $value }); Results returned from an API call Use accessors for each attribute. If Att1 is expected to be an Paws::ACMPCA::Validity object: $result = $service_obj->Method(...); $result->Att1->Type DESCRIPTIONValidity specifies the period of time during which a certificate is valid. Validity can be expressed as an explicit date and time when the validity of a certificate starts or expires, or as a span of time after issuance, stated in days, months, or years. For more information, see Validity (https://tools.ietf.org/html/rfc5280#section-4.1.2.5) in RFC 5280. ACM Private CA API consumes the "Validity" data type differently in two distinct parameters of the "IssueCertificate" action. The required parameter "IssueCertificate":"Validity" specifies the end of a certificate's validity period. The optional parameter "IssueCertificate":"ValidityNotBefore" specifies a customized starting time for the validity period. ATTRIBUTESREQUIRED Type => StrDetermines how ACM Private CA interprets the "Value" parameter, an integer. Supported validity types include those listed below. Type definitions with values include a sample input value and the resulting output. "END_DATE": The specific date and time when the certificate will expire, expressed using UTCTime (YYMMDDHHMMSS) or GeneralizedTime (YYYYMMDDHHMMSS) format. When UTCTime is used, if the year field (YY) is greater than or equal to 50, the year is interpreted as 19YY. If the year field is less than 50, the year is interpreted as 20YY.
"ABSOLUTE": The specific date and time when the validity of a certificate will start or expire, expressed in seconds since the Unix Epoch.
"DAYS", "MONTHS", "YEARS": The relative time from the moment of issuance until the certificate will expire, expressed in days, months, or years. Example if "DAYS", issued on 10/12/2020 at 12:34:54 UTC:
The minimum validity duration for a certificate using relative time ("DAYS") is one day. The minimum validity for a certificate using absolute time ("ABSOLUTE" or "END_DATE") is one second. REQUIRED Value => IntA long integer interpreted according to the value of "Type", below. SEE ALSOThis class forms part of Paws, describing an object used in Paws::ACMPCA BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|