{ "smithy": "1.0", "metadata": { "suppressions": [ { "id": "HttpMethodSemantics", "namespace": "*" }, { "id": "HttpResponseCodeSemantics", "namespace": "*" }, { "id": "PaginatedTrait", "namespace": "*" }, { "id": "HttpHeaderTrait", "namespace": "*" }, { "id": "HttpUriConflict", "namespace": "*" }, { "id": "Service", "namespace": "*" } ] }, "shapes": { "com.amazonaws.acmpca#ACMPrivateCA": { "type": "service", "version": "2017-08-22", "operations": [ { "target": "com.amazonaws.acmpca#CreateCertificateAuthority" }, { "target": "com.amazonaws.acmpca#CreateCertificateAuthorityAuditReport" }, { "target": "com.amazonaws.acmpca#CreatePermission" }, { "target": "com.amazonaws.acmpca#DeleteCertificateAuthority" }, { "target": "com.amazonaws.acmpca#DeletePermission" }, { "target": "com.amazonaws.acmpca#DeletePolicy" }, { "target": "com.amazonaws.acmpca#DescribeCertificateAuthority" }, { "target": "com.amazonaws.acmpca#DescribeCertificateAuthorityAuditReport" }, { "target": "com.amazonaws.acmpca#GetCertificate" }, { "target": "com.amazonaws.acmpca#GetCertificateAuthorityCertificate" }, { "target": "com.amazonaws.acmpca#GetCertificateAuthorityCsr" }, { "target": "com.amazonaws.acmpca#GetPolicy" }, { "target": "com.amazonaws.acmpca#ImportCertificateAuthorityCertificate" }, { "target": "com.amazonaws.acmpca#IssueCertificate" }, { "target": "com.amazonaws.acmpca#ListCertificateAuthorities" }, { "target": "com.amazonaws.acmpca#ListPermissions" }, { "target": "com.amazonaws.acmpca#ListTags" }, { "target": "com.amazonaws.acmpca#PutPolicy" }, { "target": "com.amazonaws.acmpca#RestoreCertificateAuthority" }, { "target": "com.amazonaws.acmpca#RevokeCertificate" }, { "target": "com.amazonaws.acmpca#TagCertificateAuthority" }, { "target": "com.amazonaws.acmpca#UntagCertificateAuthority" }, { "target": "com.amazonaws.acmpca#UpdateCertificateAuthority" } ], "traits": { "aws.api#service": { "sdkId": "ACM PCA", "arnNamespace": "acm-pca", "cloudFormationName": "ACMPCA", "cloudTrailEventSource": "acmpca.amazonaws.com", "endpointPrefix": "acm-pca" }, "aws.auth#sigv4": { "name": "acm-pca" }, "aws.protocols#awsJson1_1": {}, "smithy.api#documentation": "

This is the ACM Private CA API Reference. It provides descriptions,\n\t\t\tsyntax, and usage examples for each of the actions and data types involved in creating\n\t\t\tand managing private certificate authorities (CA) for your organization.

\n\t\t

The documentation for each action shows the Query API request parameters and the XML\n\t\t\tresponse. Alternatively, you can use one of the AWS SDKs to access an API that's\n\t\t\ttailored to the programming language or platform that you're using. For more\n\t\t\tinformation, see AWS\n\t\t\tSDKs.

\n\t\t \n\t\t\t

Each ACM Private CA API action has a quota that determines the number of times the action\n\t\t\t\tcan be called per second. For more information, see API Rate Quotas in ACM Private CA\n\t\t\t\tin the ACM Private CA user guide.

\n\t\t
", "smithy.api#title": "AWS Certificate Manager Private Certificate Authority" } }, "com.amazonaws.acmpca#ASN1PrintableString64": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 64 }, "smithy.api#pattern": "[a-zA-Z0-9'()+-.?:/= ]*" } }, "com.amazonaws.acmpca#ASN1Subject": { "type": "structure", "members": { "Country": { "target": "com.amazonaws.acmpca#CountryCodeString", "traits": { "smithy.api#documentation": "

Two-digit code that specifies the country in which the certificate subject\n\t\t\tlocated.

" } }, "Organization": { "target": "com.amazonaws.acmpca#String64", "traits": { "smithy.api#documentation": "

Legal name of the organization with which the certificate subject is affiliated.\n\t\t

" } }, "OrganizationalUnit": { "target": "com.amazonaws.acmpca#String64", "traits": { "smithy.api#documentation": "

A subdivision or unit of the organization (such as sales or finance) with which the\n\t\t\tcertificate subject is affiliated.

" } }, "DistinguishedNameQualifier": { "target": "com.amazonaws.acmpca#ASN1PrintableString64", "traits": { "smithy.api#documentation": "

Disambiguating information for the certificate subject.

" } }, "State": { "target": "com.amazonaws.acmpca#String128", "traits": { "smithy.api#documentation": "

State in which the subject of the certificate is located.

" } }, "CommonName": { "target": "com.amazonaws.acmpca#String64", "traits": { "smithy.api#documentation": "

For CA and end-entity certificates in a private PKI, the common name (CN) can be any\n\t\t\tstring within the length limit.

\n\t\t

Note: In publicly trusted certificates, the common name must be a fully qualified\n\t\t\tdomain name (FQDN) associated with the certificate subject.

" } }, "SerialNumber": { "target": "com.amazonaws.acmpca#ASN1PrintableString64", "traits": { "smithy.api#documentation": "

The certificate serial number.

" } }, "Locality": { "target": "com.amazonaws.acmpca#String128", "traits": { "smithy.api#documentation": "

The locality (such as a city or town) in which the certificate subject is\n\t\t\tlocated.

" } }, "Title": { "target": "com.amazonaws.acmpca#String64", "traits": { "smithy.api#documentation": "

A title such as Mr. or Ms., which is pre-pended to the name to refer formally to the\n\t\t\tcertificate subject.

" } }, "Surname": { "target": "com.amazonaws.acmpca#String40", "traits": { "smithy.api#documentation": "

Family name. In the US and the UK, for example, the surname of an individual is\n\t\t\tordered last. In Asian cultures the surname is typically ordered first.

" } }, "GivenName": { "target": "com.amazonaws.acmpca#String16", "traits": { "smithy.api#documentation": "

First name.

" } }, "Initials": { "target": "com.amazonaws.acmpca#String5", "traits": { "smithy.api#documentation": "

Concatenation that typically contains the first letter of the GivenName, the first letter of the middle name if one exists, and the\n\t\t\tfirst letter of the Surname.

" } }, "Pseudonym": { "target": "com.amazonaws.acmpca#String128", "traits": { "smithy.api#documentation": "

Typically a shortened version of a longer GivenName.\n\t\t\tFor example, Jonathan is often shortened to John. Elizabeth is often shortened to Beth,\n\t\t\tLiz, or Eliza.

" } }, "GenerationQualifier": { "target": "com.amazonaws.acmpca#String3", "traits": { "smithy.api#documentation": "

Typically a qualifier appended to the name of an individual. Examples include Jr. for\n\t\t\tjunior, Sr. for senior, and III for third.

" } } }, "traits": { "smithy.api#documentation": "

Contains information about the certificate subject. The Subject field in\n\t\t\tthe certificate identifies the entity that owns or controls the public key in the\n\t\t\tcertificate. The entity can be a user, computer, device, or service. The Subject\n\t\t\tmust contain an X.500 distinguished name (DN). A DN is a sequence of relative\n\t\t\tdistinguished names (RDNs). The RDNs are separated by commas in the certificate.

" } }, "com.amazonaws.acmpca#AWSPolicy": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 20480 }, "smithy.api#pattern": "[\\u0009\\u000A\\u000D\\u0020-\\u00FF]+" } }, "com.amazonaws.acmpca#AccessDescription": { "type": "structure", "members": { "AccessMethod": { "target": "com.amazonaws.acmpca#AccessMethod", "traits": { "smithy.api#documentation": "

The type and format of AccessDescription information.

", "smithy.api#required": {} } }, "AccessLocation": { "target": "com.amazonaws.acmpca#GeneralName", "traits": { "smithy.api#documentation": "

The location of AccessDescription information.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Provides access information used by the authorityInfoAccess and\n\t\t\t\tsubjectInfoAccess extensions described in RFC 5280.

" } }, "com.amazonaws.acmpca#AccessDescriptionList": { "type": "list", "member": { "target": "com.amazonaws.acmpca#AccessDescription" } }, "com.amazonaws.acmpca#AccessMethod": { "type": "structure", "members": { "CustomObjectIdentifier": { "target": "com.amazonaws.acmpca#CustomObjectIdentifier", "traits": { "smithy.api#documentation": "

An object identifier (OID) specifying the AccessMethod. The OID must\n\t\t\tsatisfy the regular expression shown below. For more information, see NIST's definition\n\t\t\tof Object Identifier\n\t\t\t\t(OID).

" } }, "AccessMethodType": { "target": "com.amazonaws.acmpca#AccessMethodType", "traits": { "smithy.api#documentation": "

Specifies the AccessMethod.

" } } }, "traits": { "smithy.api#documentation": "

Describes the type and format of extension access. Only one of\n\t\t\t\tCustomObjectIdentifier or AccessMethodType may be\n\t\t\tprovided. Providing both results in InvalidArgsException.

" } }, "com.amazonaws.acmpca#AccessMethodType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "CA_REPOSITORY", "name": "CA_REPOSITORY" }, { "value": "RESOURCE_PKI_MANIFEST", "name": "RESOURCE_PKI_MANIFEST" }, { "value": "RESOURCE_PKI_NOTIFY", "name": "RESOURCE_PKI_NOTIFY" } ] } }, "com.amazonaws.acmpca#AccountId": { "type": "string", "traits": { "smithy.api#length": { "min": 12, "max": 12 }, "smithy.api#pattern": "[0-9]+" } }, "com.amazonaws.acmpca#ActionList": { "type": "list", "member": { "target": "com.amazonaws.acmpca#ActionType" }, "traits": { "smithy.api#length": { "min": 1, "max": 3 } } }, "com.amazonaws.acmpca#ActionType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "IssueCertificate", "name": "IssueCertificate" }, { "value": "GetCertificate", "name": "GetCertificate" }, { "value": "ListPermissions", "name": "ListPermissions" } ] } }, "com.amazonaws.acmpca#ApiPassthrough": { "type": "structure", "members": { "Extensions": { "target": "com.amazonaws.acmpca#Extensions", "traits": { "smithy.api#documentation": "

Specifies X.509 extension information for a certificate.

" } }, "Subject": { "target": "com.amazonaws.acmpca#ASN1Subject" } }, "traits": { "smithy.api#documentation": "

Contains X.509 certificate information to be placed in an issued certificate. An\n\t\t\t\tAPIPassthrough or APICSRPassthrough template variant must\n\t\t\tbe selected, or else this parameter is ignored.

\n\t\t

If conflicting or duplicate certificate information is supplied from other sources,\n\t\t\tACM Private CA applies order of\n\t\t\t\toperation rules to determine what information is used.

" } }, "com.amazonaws.acmpca#Arn": { "type": "string", "traits": { "smithy.api#length": { "min": 5, "max": 200 }, "smithy.api#pattern": "arn:[\\w+=/,.@-]+:[\\w+=/,.@-]+:[\\w+=/,.@-]*:[0-9]*:[\\w+=,.@-]+(/[\\w+=,.@-]+)*" } }, "com.amazonaws.acmpca#AuditReportId": { "type": "string", "traits": { "smithy.api#length": { "min": 36, "max": 36 }, "smithy.api#pattern": "[a-z0-9]{8}-[a-z0-9]{4}-[a-z0-9]{4}-[a-z0-9]{4}-[a-z0-9]{12}" } }, "com.amazonaws.acmpca#AuditReportResponseFormat": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "JSON", "name": "JSON" }, { "value": "CSV", "name": "CSV" } ] } }, "com.amazonaws.acmpca#AuditReportStatus": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "CREATING", "name": "CREATING" }, { "value": "SUCCESS", "name": "SUCCESS" }, { "value": "FAILED", "name": "FAILED" } ] } }, "com.amazonaws.acmpca#Boolean": { "type": "boolean" }, "com.amazonaws.acmpca#CertificateAuthorities": { "type": "list", "member": { "target": "com.amazonaws.acmpca#CertificateAuthority" } }, "com.amazonaws.acmpca#CertificateAuthority": { "type": "structure", "members": { "Arn": { "target": "com.amazonaws.acmpca#Arn", "traits": { "smithy.api#documentation": "

Amazon Resource Name (ARN) for your private certificate authority (CA). The format is\n\t\t\t\t\t\n 12345678-1234-1234-1234-123456789012\n .

" } }, "OwnerAccount": { "target": "com.amazonaws.acmpca#AccountId", "traits": { "smithy.api#documentation": "

The AWS account ID that owns the certificate authority.

" } }, "CreatedAt": { "target": "com.amazonaws.acmpca#TStamp", "traits": { "smithy.api#documentation": "

Date and time at which your private CA was created.

" } }, "LastStateChangeAt": { "target": "com.amazonaws.acmpca#TStamp", "traits": { "smithy.api#documentation": "

Date and time at which your private CA was last updated.

" } }, "Type": { "target": "com.amazonaws.acmpca#CertificateAuthorityType", "traits": { "smithy.api#documentation": "

Type of your private CA.

" } }, "Serial": { "target": "com.amazonaws.acmpca#String", "traits": { "smithy.api#documentation": "

Serial number of your private CA.

" } }, "Status": { "target": "com.amazonaws.acmpca#CertificateAuthorityStatus", "traits": { "smithy.api#documentation": "

Status of your private CA.

" } }, "NotBefore": { "target": "com.amazonaws.acmpca#TStamp", "traits": { "smithy.api#documentation": "

Date and time before which your private CA certificate is not valid.

" } }, "NotAfter": { "target": "com.amazonaws.acmpca#TStamp", "traits": { "smithy.api#documentation": "

Date and time after which your private CA certificate is not valid.

" } }, "FailureReason": { "target": "com.amazonaws.acmpca#FailureReason", "traits": { "smithy.api#documentation": "

Reason the request to create your private CA failed.

" } }, "CertificateAuthorityConfiguration": { "target": "com.amazonaws.acmpca#CertificateAuthorityConfiguration", "traits": { "smithy.api#documentation": "

Your private CA configuration.

" } }, "RevocationConfiguration": { "target": "com.amazonaws.acmpca#RevocationConfiguration", "traits": { "smithy.api#documentation": "

Information about the certificate revocation list (CRL) created and maintained by your\n\t\t\tprivate CA.

" } }, "RestorableUntil": { "target": "com.amazonaws.acmpca#TStamp", "traits": { "smithy.api#documentation": "

The period during which a deleted CA can be restored. For more information, see the\n\t\t\t\tPermanentDeletionTimeInDays parameter of the DeleteCertificateAuthorityRequest action.

" } }, "KeyStorageSecurityStandard": { "target": "com.amazonaws.acmpca#KeyStorageSecurityStandard", "traits": { "smithy.api#documentation": "

Defines a cryptographic key management compliance standard used for handling CA keys.

\n\t\t

Default: FIPS_140_2_LEVEL_3_OR_HIGHER

\n\t\t

Note: AWS Region ap-northeast-3 supports only FIPS_140_2_LEVEL_2_OR_HIGHER. You must\n\t\t\texplicitly specify this parameter and value when creating a CA in that Region.\n\t\t\tSpecifying a different value (or no value) results in an\n\t\t\t\tInvalidArgsException with the message \"A certificate authority cannot\n\t\t\tbe created in this region with the specified security standard.\"

" } } }, "traits": { "smithy.api#documentation": "

Contains information about your private certificate authority (CA). Your private CA\n\t\t\tcan issue and revoke X.509 digital certificates. Digital certificates verify that the\n\t\t\tentity named in the certificate Subject field owns or\n\t\t\tcontrols the public key contained in the Subject Public Key\n\t\t\t\tInfo field. Call the CreateCertificateAuthority action to create your private CA. You must then\n\t\t\tcall the GetCertificateAuthorityCertificate action to retrieve a private CA\n\t\t\tcertificate signing request (CSR). Sign the CSR with your ACM Private CA-hosted or on-premises\n\t\t\troot or subordinate CA certificate. Call the ImportCertificateAuthorityCertificate action to import the signed\n\t\t\tcertificate into AWS Certificate Manager (ACM).

" } }, "com.amazonaws.acmpca#CertificateAuthorityConfiguration": { "type": "structure", "members": { "KeyAlgorithm": { "target": "com.amazonaws.acmpca#KeyAlgorithm", "traits": { "smithy.api#documentation": "

Type of the public key algorithm and size, in bits, of the key pair that your CA\n\t\t\tcreates when it issues a certificate. When you create a subordinate CA, you must use a\n\t\t\tkey algorithm supported by the parent CA.

", "smithy.api#required": {} } }, "SigningAlgorithm": { "target": "com.amazonaws.acmpca#SigningAlgorithm", "traits": { "smithy.api#documentation": "

Name of the algorithm your private CA uses to sign certificate requests.

\n\t\t

This parameter should not be confused with the SigningAlgorithm parameter\n\t\t\tused to sign certificates when they are issued.

", "smithy.api#required": {} } }, "Subject": { "target": "com.amazonaws.acmpca#ASN1Subject", "traits": { "smithy.api#documentation": "

Structure that contains X.500 distinguished name information for your private\n\t\t\tCA.

", "smithy.api#required": {} } }, "CsrExtensions": { "target": "com.amazonaws.acmpca#CsrExtensions", "traits": { "smithy.api#documentation": "

Specifies information to be added to the extension section of the certificate signing\n\t\t\trequest (CSR).

" } } }, "traits": { "smithy.api#documentation": "

Contains configuration information for your private certificate authority (CA). This\n\t\t\tincludes information about the class of public key algorithm and the key pair that your\n\t\t\tprivate CA creates when it issues a certificate. It also includes the signature\n\t\t\talgorithm that it uses when issuing certificates, and its X.500 distinguished name. You\n\t\t\tmust specify this information when you call the CreateCertificateAuthority action.

" } }, "com.amazonaws.acmpca#CertificateAuthorityStatus": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "CREATING", "name": "CREATING" }, { "value": "PENDING_CERTIFICATE", "name": "PENDING_CERTIFICATE" }, { "value": "ACTIVE", "name": "ACTIVE" }, { "value": "DELETED", "name": "DELETED" }, { "value": "DISABLED", "name": "DISABLED" }, { "value": "EXPIRED", "name": "EXPIRED" }, { "value": "FAILED", "name": "FAILED" } ] } }, "com.amazonaws.acmpca#CertificateAuthorityType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "ROOT", "name": "ROOT" }, { "value": "SUBORDINATE", "name": "SUBORDINATE" } ] } }, "com.amazonaws.acmpca#CertificateBody": { "type": "string" }, "com.amazonaws.acmpca#CertificateBodyBlob": { "type": "blob", "traits": { "smithy.api#length": { "min": 1, "max": 32768 } } }, "com.amazonaws.acmpca#CertificateChain": { "type": "string" }, "com.amazonaws.acmpca#CertificateChainBlob": { "type": "blob", "traits": { "smithy.api#length": { "min": 0, "max": 2097152 } } }, "com.amazonaws.acmpca#CertificateMismatchException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.acmpca#String" } }, "traits": { "smithy.api#documentation": "

The certificate authority certificate you are importing does not comply with\n\t\t\tconditions specified in the certificate that signed it.

", "smithy.api#error": "client" } }, "com.amazonaws.acmpca#CertificatePolicyList": { "type": "list", "member": { "target": "com.amazonaws.acmpca#PolicyInformation" }, "traits": { "smithy.api#length": { "min": 1, "max": 20 } } }, "com.amazonaws.acmpca#ConcurrentModificationException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.acmpca#String" } }, "traits": { "smithy.api#documentation": "

A previous update to your private CA is still ongoing.

", "smithy.api#error": "client" } }, "com.amazonaws.acmpca#CountryCodeString": { "type": "string", "traits": { "smithy.api#length": { "min": 2, "max": 2 }, "smithy.api#pattern": "[A-Za-z]{2}" } }, "com.amazonaws.acmpca#CreateCertificateAuthority": { "type": "operation", "input": { "target": "com.amazonaws.acmpca#CreateCertificateAuthorityRequest" }, "output": { "target": "com.amazonaws.acmpca#CreateCertificateAuthorityResponse" }, "errors": [ { "target": "com.amazonaws.acmpca#InvalidArgsException" }, { "target": "com.amazonaws.acmpca#InvalidPolicyException" }, { "target": "com.amazonaws.acmpca#InvalidTagException" }, { "target": "com.amazonaws.acmpca#LimitExceededException" } ], "traits": { "smithy.api#documentation": "

Creates a root or subordinate private certificate authority (CA). You must specify the\n\t\t\tCA configuration, the certificate revocation list (CRL) configuration, the CA type, and\n\t\t\tan optional idempotency token to avoid accidental creation of multiple CAs. The CA\n\t\t\tconfiguration specifies the name of the algorithm and key size to be used to create the\n\t\t\tCA private key, the type of signing algorithm that the CA uses, and X.500 subject\n\t\t\tinformation. The CRL configuration specifies the CRL expiration period in days (the\n\t\t\tvalidity period of the CRL), the Amazon S3 bucket that will contain the CRL, and a CNAME\n\t\t\talias for the S3 bucket that is included in certificates issued by the CA. If\n\t\t\tsuccessful, this action returns the Amazon Resource Name (ARN) of the CA.

\n\t\t

ACM Private CA assets that are stored in Amazon S3 can be protected with encryption. \n For more information, see Encrypting Your\n\t\t\tCRLs.

\n \n

Both PCA and the IAM principal must have permission to write to\n the S3 bucket that you specify. If the IAM principal making the call\n does not have permission to write to the bucket, then an exception is\n thrown. For more information, see Configure\n Access to ACM Private CA.

\n
", "smithy.api#idempotent": {} } }, "com.amazonaws.acmpca#CreateCertificateAuthorityAuditReport": { "type": "operation", "input": { "target": "com.amazonaws.acmpca#CreateCertificateAuthorityAuditReportRequest" }, "output": { "target": "com.amazonaws.acmpca#CreateCertificateAuthorityAuditReportResponse" }, "errors": [ { "target": "com.amazonaws.acmpca#InvalidArgsException" }, { "target": "com.amazonaws.acmpca#InvalidArnException" }, { "target": "com.amazonaws.acmpca#InvalidStateException" }, { "target": "com.amazonaws.acmpca#RequestFailedException" }, { "target": "com.amazonaws.acmpca#RequestInProgressException" }, { "target": "com.amazonaws.acmpca#ResourceNotFoundException" } ], "traits": { "smithy.api#documentation": "

Creates an audit report that lists every time that your CA private key is used. The\n\t\t\treport is saved in the Amazon S3 bucket that you specify on input. \n\t\t\t\n\t\t\tThe IssueCertificate and RevokeCertificate actions use\n\t\t\tthe private key.

\n \n

Both PCA and the IAM principal must have permission to write to\n the S3 bucket that you specify. If the IAM principal making the call\n does not have permission to write to the bucket, then an exception is\n thrown. For more information, see Configure\n Access to ACM Private CA.

\n
\n\t\t \n\t\t

ACM Private CA assets that are stored in Amazon S3 can be protected with encryption. \n For more information, see Encrypting Your Audit\n\t\t\t\tReports.

", "smithy.api#idempotent": {} } }, "com.amazonaws.acmpca#CreateCertificateAuthorityAuditReportRequest": { "type": "structure", "members": { "CertificateAuthorityArn": { "target": "com.amazonaws.acmpca#Arn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the CA to be audited. This is of the form:

\n\t\t

\n arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012\n .

", "smithy.api#required": {} } }, "S3BucketName": { "target": "com.amazonaws.acmpca#S3BucketName", "traits": { "smithy.api#documentation": "

The name of the S3 bucket that will contain the audit report.

", "smithy.api#required": {} } }, "AuditReportResponseFormat": { "target": "com.amazonaws.acmpca#AuditReportResponseFormat", "traits": { "smithy.api#documentation": "

The format in which to create the report. This can be either JSON or CSV.

", "smithy.api#required": {} } } } }, "com.amazonaws.acmpca#CreateCertificateAuthorityAuditReportResponse": { "type": "structure", "members": { "AuditReportId": { "target": "com.amazonaws.acmpca#AuditReportId", "traits": { "smithy.api#documentation": "

An alphanumeric string that contains a report identifier.

" } }, "S3Key": { "target": "com.amazonaws.acmpca#S3Key", "traits": { "smithy.api#documentation": "

The key that uniquely identifies the report file in\n\t\t\tyour S3 bucket.

" } } } }, "com.amazonaws.acmpca#CreateCertificateAuthorityRequest": { "type": "structure", "members": { "CertificateAuthorityConfiguration": { "target": "com.amazonaws.acmpca#CertificateAuthorityConfiguration", "traits": { "smithy.api#documentation": "

Name and bit size of the private key algorithm, the name of the signing algorithm, and\n\t\t\tX.500 certificate subject information.

", "smithy.api#required": {} } }, "RevocationConfiguration": { "target": "com.amazonaws.acmpca#RevocationConfiguration", "traits": { "smithy.api#documentation": "

Contains a Boolean value that you can use to enable a certification revocation list\n\t\t\t(CRL) for the CA, the name of the S3 bucket to which ACM Private CA will write the CRL, and an\n\t\t\toptional CNAME alias that you can use to hide the name of your bucket in the CRL Distribution Points extension of your CA certificate. For\n\t\t\tmore information, see the CrlConfiguration structure.\n\t\t

" } }, "CertificateAuthorityType": { "target": "com.amazonaws.acmpca#CertificateAuthorityType", "traits": { "smithy.api#documentation": "

The type of the certificate authority.

", "smithy.api#required": {} } }, "IdempotencyToken": { "target": "com.amazonaws.acmpca#IdempotencyToken", "traits": { "smithy.api#documentation": "

Custom string that can be used to distinguish between calls to the CreateCertificateAuthority action. Idempotency tokens for\n\t\t\t\tCreateCertificateAuthority time out after five\n\t\t\tminutes. Therefore, if you call CreateCertificateAuthority multiple times with the same idempotency\n\t\t\ttoken within five minutes, ACM Private CA recognizes that you are requesting only certificate\n\t\t\tauthority and will issue only one. If you change the idempotency token for each call,\n\t\t\tPCA recognizes that you are requesting multiple certificate authorities.

" } }, "KeyStorageSecurityStandard": { "target": "com.amazonaws.acmpca#KeyStorageSecurityStandard", "traits": { "smithy.api#documentation": "

Specifies a cryptographic key management compliance standard used for handling CA\n\t\t\tkeys.

\n\t\t

Default: FIPS_140_2_LEVEL_3_OR_HIGHER

\n\t\t

Note: AWS Region ap-northeast-3 supports only FIPS_140_2_LEVEL_2_OR_HIGHER. You must\n\t\t\texplicitly specify this parameter and value when creating a CA in that Region.\n\t\t\tSpecifying a different value (or no value) results in an\n\t\t\t\tInvalidArgsException with the message \"A certificate authority cannot\n\t\t\tbe created in this region with the specified security standard.\"

" } }, "Tags": { "target": "com.amazonaws.acmpca#TagList", "traits": { "smithy.api#documentation": "

Key-value pairs that will be attached to the new private CA. You can associate up to\n\t\t\t50 tags with a private CA. For information using tags with IAM to manage permissions,\n\t\t\tsee Controlling Access Using IAM Tags.

" } } } }, "com.amazonaws.acmpca#CreateCertificateAuthorityResponse": { "type": "structure", "members": { "CertificateAuthorityArn": { "target": "com.amazonaws.acmpca#Arn", "traits": { "smithy.api#documentation": "

If successful, the Amazon Resource Name (ARN) of the certificate authority (CA). This\n\t\t\tis of the form:

\n\t\t

\n\t\t\t arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012\n .\n\t\t

" } } } }, "com.amazonaws.acmpca#CreatePermission": { "type": "operation", "input": { "target": "com.amazonaws.acmpca#CreatePermissionRequest" }, "errors": [ { "target": "com.amazonaws.acmpca#InvalidArnException" }, { "target": "com.amazonaws.acmpca#InvalidStateException" }, { "target": "com.amazonaws.acmpca#LimitExceededException" }, { "target": "com.amazonaws.acmpca#PermissionAlreadyExistsException" }, { "target": "com.amazonaws.acmpca#RequestFailedException" }, { "target": "com.amazonaws.acmpca#ResourceNotFoundException" } ], "traits": { "smithy.api#documentation": "

Grants one or more permissions on a private CA to the AWS Certificate Manager (ACM) service\n\t\t\tprincipal (acm.amazonaws.com). These permissions allow ACM to issue and\n\t\t\trenew ACM certificates that reside in the same AWS account as the CA.

\n\t\t

You can list current permissions with the ListPermissions action and\n\t\t\trevoke them with the DeletePermission action.

\n\t\t

\n About Permissions\n

\n " } }, "com.amazonaws.acmpca#CreatePermissionRequest": { "type": "structure", "members": { "CertificateAuthorityArn": { "target": "com.amazonaws.acmpca#Arn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the CA that grants the permissions. You can find the\n\t\t\tARN by calling the ListCertificateAuthorities action. This must have the following form:

\n\t\t

\n\t\t\t arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012\n .\n\t\t

", "smithy.api#required": {} } }, "Principal": { "target": "com.amazonaws.acmpca#Principal", "traits": { "smithy.api#documentation": "

The AWS service or identity that receives the permission. At this time, the only\n\t\t\tvalid principal is acm.amazonaws.com.

", "smithy.api#required": {} } }, "SourceAccount": { "target": "com.amazonaws.acmpca#AccountId", "traits": { "smithy.api#documentation": "

The ID of the calling account.

" } }, "Actions": { "target": "com.amazonaws.acmpca#ActionList", "traits": { "smithy.api#documentation": "

The actions that the specified AWS service principal can use. These include\n\t\t\t\tIssueCertificate, GetCertificate, and\n\t\t\t\tListPermissions.

", "smithy.api#required": {} } } } }, "com.amazonaws.acmpca#CrlConfiguration": { "type": "structure", "members": { "Enabled": { "target": "com.amazonaws.acmpca#Boolean", "traits": { "smithy.api#box": {}, "smithy.api#documentation": "

Boolean value that specifies whether certificate revocation lists (CRLs) are enabled.\n\t\t\tYou can use this value to enable certificate revocation for a new CA when you call the\n\t\t\t\tCreateCertificateAuthority action or for an existing CA when you call the\n\t\t\t\tUpdateCertificateAuthority action.

", "smithy.api#required": {} } }, "ExpirationInDays": { "target": "com.amazonaws.acmpca#Integer1To5000", "traits": { "smithy.api#box": {}, "smithy.api#documentation": "

Validity period of the CRL in days.

" } }, "CustomCname": { "target": "com.amazonaws.acmpca#String253", "traits": { "smithy.api#documentation": "

Name inserted into the certificate CRL Distribution\n\t\t\t\tPoints extension that enables the use of an alias for the CRL\n\t\t\tdistribution point. Use this value if you don't want the name of your S3 bucket to be\n\t\t\tpublic.

" } }, "S3BucketName": { "target": "com.amazonaws.acmpca#String3To255", "traits": { "smithy.api#documentation": "

Name of the S3 bucket that contains the CRL. If you do not provide a value for the\n\t\t\t\tCustomCname argument, the name of your S3 bucket\n\t\t\tis placed into the CRL Distribution Points extension of\n\t\t\tthe issued certificate. You can change the name of your bucket by calling the UpdateCertificateAuthority action. You must specify a bucket policy that\n\t\t\tallows ACM Private CA to write the CRL to your bucket.

" } } }, "traits": { "smithy.api#documentation": "

Contains configuration information for a certificate revocation list (CRL). Your\n\t\t\tprivate certificate authority (CA) creates base CRLs. Delta CRLs are not supported. You\n\t\t\tcan enable CRLs for your new or an existing private CA by setting the Enabled parameter to true. Your private CA\n\t\t\twrites CRLs to an S3 bucket that you specify in the S3BucketName parameter. You can hide the name of your bucket by\n\t\t\tspecifying a value for the CustomCname parameter. Your\n\t\t\tprivate CA copies the CNAME or the S3 bucket name to the CRL\n\t\t\t\tDistribution Points extension of each certificate it issues. Your S3\n\t\t\tbucket policy must give write permission to ACM Private CA.

\n\t\t

ACM Private CA assets that are stored in Amazon S3 can be protected with encryption. \n For more information, see Encrypting Your\n\t\t\tCRLs.

\n\t\t

Your private CA uses the value in the ExpirationInDays parameter to calculate the nextUpdate field in the CRL. The CRL is refreshed at 1/2 the age of next\n\t\t\tupdate or when a certificate is revoked. When a certificate is revoked, it is recorded\n\t\t\tin the next CRL that is generated and in the next audit report. Only time valid\n\t\t\tcertificates are listed in the CRL. Expired certificates are not included.

\n\t\t

CRLs contain the following fields:

\n\t\t \n\t\t

Certificate revocation lists created by ACM Private CA are DER-encoded. You can use the\n\t\t\tfollowing OpenSSL command to list a CRL.

\n\t\t

\n openssl crl -inform DER -text -in crl_path\n\t\t\t-noout\n

" } }, "com.amazonaws.acmpca#CsrBlob": { "type": "blob", "traits": { "smithy.api#length": { "min": 1, "max": 32768 } } }, "com.amazonaws.acmpca#CsrBody": { "type": "string" }, "com.amazonaws.acmpca#CsrExtensions": { "type": "structure", "members": { "KeyUsage": { "target": "com.amazonaws.acmpca#KeyUsage", "traits": { "smithy.api#documentation": "

Indicates the purpose of the certificate and of the key contained in the\n\t\t\tcertificate.

" } }, "SubjectInformationAccess": { "target": "com.amazonaws.acmpca#AccessDescriptionList", "traits": { "smithy.api#documentation": "

For CA certificates, provides a path to additional information pertaining to the CA,\n\t\t\tsuch as revocation and policy. For more information, see Subject Information\n\t\t\t\tAccess in RFC 5280.

" } } }, "traits": { "smithy.api#documentation": "

Describes the certificate extensions to be added to the certificate signing request\n\t\t\t(CSR).

" } }, "com.amazonaws.acmpca#CustomObjectIdentifier": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 64 }, "smithy.api#pattern": "^([0-2])\\.([0-9]|([0-3][0-9]))((\\.([0-9]+)){0,126})$" } }, "com.amazonaws.acmpca#DeleteCertificateAuthority": { "type": "operation", "input": { "target": "com.amazonaws.acmpca#DeleteCertificateAuthorityRequest" }, "errors": [ { "target": "com.amazonaws.acmpca#ConcurrentModificationException" }, { "target": "com.amazonaws.acmpca#InvalidArnException" }, { "target": "com.amazonaws.acmpca#InvalidStateException" }, { "target": "com.amazonaws.acmpca#ResourceNotFoundException" } ], "traits": { "smithy.api#documentation": "

Deletes a private certificate authority (CA). You must provide the Amazon Resource\n\t\t\tName (ARN) of the private CA that you want to delete. You can find the ARN by calling\n\t\t\tthe ListCertificateAuthorities action.

\n\t\t \n\t\t\t

Deleting a CA will invalidate other CAs and certificates below it in your CA\n\t\t\t\thierarchy.

\n\t\t
\n\t\t

Before you can delete a CA that you have created and activated, you must disable it.\n\t\t\tTo do this, call the UpdateCertificateAuthority action and set the CertificateAuthorityStatus parameter to DISABLED.

\n\t\t

Additionally, you can delete a CA if you are waiting for it to be created (that is,\n\t\t\tthe status of the CA is CREATING). You can also delete it if the CA has\n\t\t\tbeen created but you haven't yet imported the signed certificate into ACM Private CA (that is,\n\t\t\tthe status of the CA is PENDING_CERTIFICATE).

\n\t\t

When you successfully call DeleteCertificateAuthority, the CA's status changes to\n\t\t\tDELETED. However, the CA won't be permanently deleted until the restoration\n\t\t\tperiod has passed. By default, if you do not set the\n\t\t\t\tPermanentDeletionTimeInDays parameter, the CA remains restorable for 30\n\t\t\tdays. You can set the parameter from 7 to 30 days. The DescribeCertificateAuthority action returns the time remaining in the\n\t\t\trestoration window of a private CA in the DELETED state. To restore an\n\t\t\teligible CA, call the RestoreCertificateAuthority action.

" } }, "com.amazonaws.acmpca#DeleteCertificateAuthorityRequest": { "type": "structure", "members": { "CertificateAuthorityArn": { "target": "com.amazonaws.acmpca#Arn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) that was returned when you called CreateCertificateAuthority. This must have the following form:

\n\t\t

\n\t\t\t arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012\n .\n\t\t

", "smithy.api#required": {} } }, "PermanentDeletionTimeInDays": { "target": "com.amazonaws.acmpca#PermanentDeletionTimeInDays", "traits": { "smithy.api#documentation": "

The number of days to make a CA restorable after it has been deleted. This can be\n\t\t\tanywhere from 7 to 30 days, with 30 being the default.

" } } } }, "com.amazonaws.acmpca#DeletePermission": { "type": "operation", "input": { "target": "com.amazonaws.acmpca#DeletePermissionRequest" }, "errors": [ { "target": "com.amazonaws.acmpca#InvalidArnException" }, { "target": "com.amazonaws.acmpca#InvalidStateException" }, { "target": "com.amazonaws.acmpca#RequestFailedException" }, { "target": "com.amazonaws.acmpca#ResourceNotFoundException" } ], "traits": { "smithy.api#documentation": "

Revokes permissions on a private CA granted to the AWS Certificate Manager (ACM) service principal\n\t\t\t(acm.amazonaws.com).

\n\t\t

These permissions allow ACM to issue and renew ACM certificates that reside in the\n\t\t\tsame AWS account as the CA. If you revoke these permissions, ACM will no longer\n\t\t\trenew the affected certificates automatically.

\n\t\t

Permissions can be granted with the CreatePermission action and\n\t\t\tlisted with the ListPermissions action.

\n

\n About Permissions\n

\n " } }, "com.amazonaws.acmpca#DeletePermissionRequest": { "type": "structure", "members": { "CertificateAuthorityArn": { "target": "com.amazonaws.acmpca#Arn", "traits": { "smithy.api#documentation": "

The Amazon Resource Number (ARN) of the private CA that issued the permissions. You\n\t\t\tcan find the CA's ARN by calling the ListCertificateAuthorities action. This must have the following form:

\n\t\t

\n\t\t\t arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012\n .\n\t\t

", "smithy.api#required": {} } }, "Principal": { "target": "com.amazonaws.acmpca#Principal", "traits": { "smithy.api#documentation": "

The AWS service or identity that will have its CA permissions revoked. At this time,\n\t\t\tthe only valid service principal is acm.amazonaws.com\n

", "smithy.api#required": {} } }, "SourceAccount": { "target": "com.amazonaws.acmpca#AccountId", "traits": { "smithy.api#documentation": "

The AWS account that calls this action.

" } } } }, "com.amazonaws.acmpca#DeletePolicy": { "type": "operation", "input": { "target": "com.amazonaws.acmpca#DeletePolicyRequest" }, "errors": [ { "target": "com.amazonaws.acmpca#ConcurrentModificationException" }, { "target": "com.amazonaws.acmpca#InvalidArnException" }, { "target": "com.amazonaws.acmpca#InvalidStateException" }, { "target": "com.amazonaws.acmpca#LockoutPreventedException" }, { "target": "com.amazonaws.acmpca#RequestFailedException" }, { "target": "com.amazonaws.acmpca#ResourceNotFoundException" } ], "traits": { "smithy.api#documentation": "

Deletes the resource-based policy attached to a private CA. Deletion will remove any\n\t\t\taccess that the policy has granted. If there is no policy attached to the private CA,\n\t\t\tthis action will return successful.

\n\t\t

If you delete a policy that was applied through AWS Resource Access Manager (RAM), the\n\t\t\tCA will be removed from all shares in which it was included.

\n\t\t

The AWS Certificate Manager Service Linked Role that the policy supports is not affected when you\n\t\t\tdelete the policy.

\n\t\t

The current policy can be shown with GetPolicy and updated with PutPolicy.

\n\t\t

\n About Policies\n

\n " } }, "com.amazonaws.acmpca#DeletePolicyRequest": { "type": "structure", "members": { "ResourceArn": { "target": "com.amazonaws.acmpca#Arn", "traits": { "smithy.api#documentation": "

The Amazon Resource Number (ARN) of the private CA that will have its policy deleted.\n\t\t\tYou can find the CA's ARN by calling the ListCertificateAuthorities action. The ARN value must have the form\n\t\t\t\tarn:aws:acm-pca:region:account:certificate-authority/01234567-89ab-cdef-0123-0123456789ab.\n\t\t

", "smithy.api#required": {} } } } }, "com.amazonaws.acmpca#DescribeCertificateAuthority": { "type": "operation", "input": { "target": "com.amazonaws.acmpca#DescribeCertificateAuthorityRequest" }, "output": { "target": "com.amazonaws.acmpca#DescribeCertificateAuthorityResponse" }, "errors": [ { "target": "com.amazonaws.acmpca#InvalidArnException" }, { "target": "com.amazonaws.acmpca#ResourceNotFoundException" } ], "traits": { "smithy.api#documentation": "

Lists information about your private certificate authority (CA) or one that has been\n\t\t\tshared with you. You specify the private CA on input by its ARN (Amazon Resource Name).\n\t\t\tThe output contains the status of your CA. This can be any of the following:

\n\t\t " } }, "com.amazonaws.acmpca#DescribeCertificateAuthorityAuditReport": { "type": "operation", "input": { "target": "com.amazonaws.acmpca#DescribeCertificateAuthorityAuditReportRequest" }, "output": { "target": "com.amazonaws.acmpca#DescribeCertificateAuthorityAuditReportResponse" }, "errors": [ { "target": "com.amazonaws.acmpca#InvalidArgsException" }, { "target": "com.amazonaws.acmpca#InvalidArnException" }, { "target": "com.amazonaws.acmpca#ResourceNotFoundException" } ], "traits": { "smithy.api#documentation": "

Lists information about a specific audit report created by calling the CreateCertificateAuthorityAuditReport action. Audit information is created\n\t\t\tevery time the certificate authority (CA) private key is used. The private key is used\n\t\t\twhen you call the IssueCertificate action or the\n\t\t\t\tRevokeCertificate action.

", "smithy.waiters#waitable": { "AuditReportCreated": { "documentation": "Wait until a Audit Report is created", "acceptors": [ { "state": "success", "matcher": { "output": { "path": "AuditReportStatus", "expected": "SUCCESS", "comparator": "stringEquals" } } }, { "state": "failure", "matcher": { "output": { "path": "AuditReportStatus", "expected": "FAILED", "comparator": "stringEquals" } } } ], "minDelay": 3 } } } }, "com.amazonaws.acmpca#DescribeCertificateAuthorityAuditReportRequest": { "type": "structure", "members": { "CertificateAuthorityArn": { "target": "com.amazonaws.acmpca#Arn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the private CA. This must be of the form:

\n\t\t

\n\t\t\t arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012\n .\n\t\t

", "smithy.api#required": {} } }, "AuditReportId": { "target": "com.amazonaws.acmpca#AuditReportId", "traits": { "smithy.api#documentation": "

The report ID returned by calling the CreateCertificateAuthorityAuditReport action.

", "smithy.api#required": {} } } } }, "com.amazonaws.acmpca#DescribeCertificateAuthorityAuditReportResponse": { "type": "structure", "members": { "AuditReportStatus": { "target": "com.amazonaws.acmpca#AuditReportStatus", "traits": { "smithy.api#documentation": "

Specifies whether report creation is in progress, has succeeded, or has failed.

" } }, "S3BucketName": { "target": "com.amazonaws.acmpca#S3BucketName", "traits": { "smithy.api#documentation": "

Name of the S3 bucket that contains the report.

" } }, "S3Key": { "target": "com.amazonaws.acmpca#S3Key", "traits": { "smithy.api#documentation": "

S3 key that uniquely identifies the report file in\n\t\t\tyour S3 bucket.

" } }, "CreatedAt": { "target": "com.amazonaws.acmpca#TStamp", "traits": { "smithy.api#documentation": "

The date and time at which the report was created.

" } } } }, "com.amazonaws.acmpca#DescribeCertificateAuthorityRequest": { "type": "structure", "members": { "CertificateAuthorityArn": { "target": "com.amazonaws.acmpca#Arn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) that was returned when you called CreateCertificateAuthority. This must be of the form:

\n\t\t

\n\t\t\t arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012\n .\n\t\t

", "smithy.api#required": {} } } } }, "com.amazonaws.acmpca#DescribeCertificateAuthorityResponse": { "type": "structure", "members": { "CertificateAuthority": { "target": "com.amazonaws.acmpca#CertificateAuthority", "traits": { "smithy.api#documentation": "

A CertificateAuthority structure that contains information about your private\n\t\t\tCA.

" } } } }, "com.amazonaws.acmpca#EdiPartyName": { "type": "structure", "members": { "PartyName": { "target": "com.amazonaws.acmpca#String256", "traits": { "smithy.api#documentation": "

Specifies the party name.

", "smithy.api#required": {} } }, "NameAssigner": { "target": "com.amazonaws.acmpca#String256", "traits": { "smithy.api#documentation": "

Specifies the name assigner.

" } } }, "traits": { "smithy.api#documentation": "

Describes an Electronic Data Interchange (EDI) entity as described in as defined in\n\t\t\t\tSubject Alternative Name in\n\t\t\tRFC 5280.

" } }, "com.amazonaws.acmpca#ExtendedKeyUsage": { "type": "structure", "members": { "ExtendedKeyUsageType": { "target": "com.amazonaws.acmpca#ExtendedKeyUsageType", "traits": { "smithy.api#documentation": "

Specifies a standard ExtendedKeyUsage as defined as in RFC 5280.

" } }, "ExtendedKeyUsageObjectIdentifier": { "target": "com.amazonaws.acmpca#CustomObjectIdentifier", "traits": { "smithy.api#documentation": "

Specifies a custom ExtendedKeyUsage with an object identifier\n\t\t\t(OID).

" } } }, "traits": { "smithy.api#documentation": "

Specifies additional purposes for which the certified public key may be used other\n\t\t\tthan basic purposes indicated in the KeyUsage extension.

" } }, "com.amazonaws.acmpca#ExtendedKeyUsageList": { "type": "list", "member": { "target": "com.amazonaws.acmpca#ExtendedKeyUsage" }, "traits": { "smithy.api#length": { "min": 1, "max": 20 } } }, "com.amazonaws.acmpca#ExtendedKeyUsageType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "SERVER_AUTH", "name": "SERVER_AUTH" }, { "value": "CLIENT_AUTH", "name": "CLIENT_AUTH" }, { "value": "CODE_SIGNING", "name": "CODE_SIGNING" }, { "value": "EMAIL_PROTECTION", "name": "EMAIL_PROTECTION" }, { "value": "TIME_STAMPING", "name": "TIME_STAMPING" }, { "value": "OCSP_SIGNING", "name": "OCSP_SIGNING" }, { "value": "SMART_CARD_LOGIN", "name": "SMART_CARD_LOGIN" }, { "value": "DOCUMENT_SIGNING", "name": "DOCUMENT_SIGNING" }, { "value": "CERTIFICATE_TRANSPARENCY", "name": "CERTIFICATE_TRANSPARENCY" } ] } }, "com.amazonaws.acmpca#Extensions": { "type": "structure", "members": { "CertificatePolicies": { "target": "com.amazonaws.acmpca#CertificatePolicyList", "traits": { "smithy.api#documentation": "

Contains a sequence of one or more policy information terms, each of which consists of\n\t\t\tan object identifier (OID) and optional qualifiers. For more information, see NIST's\n\t\t\tdefinition of Object\n\t\t\t\tIdentifier (OID).

\n\t\t

In an end-entity certificate, these terms indicate the policy under which the\n\t\t\tcertificate was issued and the purposes for which it may be used. In a CA certificate,\n\t\t\tthese terms limit the set of policies for certification paths that include this\n\t\t\tcertificate.

" } }, "ExtendedKeyUsage": { "target": "com.amazonaws.acmpca#ExtendedKeyUsageList", "traits": { "smithy.api#documentation": "

Specifies additional purposes for which the certified public key may be used other\n\t\t\tthan basic purposes indicated in the KeyUsage extension.

" } }, "KeyUsage": { "target": "com.amazonaws.acmpca#KeyUsage" }, "SubjectAlternativeNames": { "target": "com.amazonaws.acmpca#GeneralNameList", "traits": { "smithy.api#documentation": "

The subject alternative name extension allows identities to be bound to the subject of\n\t\t\tthe certificate. These identities may be included in addition to or in place of the\n\t\t\tidentity in the subject field of the certificate.

" } } }, "traits": { "smithy.api#documentation": "

Contains X.509 extension information for a certificate.

" } }, "com.amazonaws.acmpca#FailureReason": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "REQUEST_TIMED_OUT", "name": "REQUEST_TIMED_OUT" }, { "value": "UNSUPPORTED_ALGORITHM", "name": "UNSUPPORTED_ALGORITHM" }, { "value": "OTHER", "name": "OTHER" } ] } }, "com.amazonaws.acmpca#GeneralName": { "type": "structure", "members": { "OtherName": { "target": "com.amazonaws.acmpca#OtherName", "traits": { "smithy.api#documentation": "

Represents GeneralName using an OtherName object.

" } }, "Rfc822Name": { "target": "com.amazonaws.acmpca#String256", "traits": { "smithy.api#documentation": "

Represents GeneralName as an RFC 822 email address.

" } }, "DnsName": { "target": "com.amazonaws.acmpca#String253", "traits": { "smithy.api#documentation": "

Represents GeneralName as a DNS name.

" } }, "DirectoryName": { "target": "com.amazonaws.acmpca#ASN1Subject" }, "EdiPartyName": { "target": "com.amazonaws.acmpca#EdiPartyName", "traits": { "smithy.api#documentation": "

Represents GeneralName as an EdiPartyName object.

" } }, "UniformResourceIdentifier": { "target": "com.amazonaws.acmpca#String253", "traits": { "smithy.api#documentation": "

Represents GeneralName as a URI.

" } }, "IpAddress": { "target": "com.amazonaws.acmpca#String39", "traits": { "smithy.api#documentation": "

Represents GeneralName as an IPv4 or IPv6 address.

" } }, "RegisteredId": { "target": "com.amazonaws.acmpca#CustomObjectIdentifier", "traits": { "smithy.api#documentation": "

Represents GeneralName as an object identifier (OID).

" } } }, "traits": { "smithy.api#documentation": "

Describes an ASN.1 X.400 GeneralName as defined in RFC 5280. Only one of the\n\t\t\tfollowing naming options should be provided. Providing more than one option results in\n\t\t\tan InvalidArgsException error.

" } }, "com.amazonaws.acmpca#GeneralNameList": { "type": "list", "member": { "target": "com.amazonaws.acmpca#GeneralName" }, "traits": { "smithy.api#length": { "min": 1, "max": 20 } } }, "com.amazonaws.acmpca#GetCertificate": { "type": "operation", "input": { "target": "com.amazonaws.acmpca#GetCertificateRequest" }, "output": { "target": "com.amazonaws.acmpca#GetCertificateResponse" }, "errors": [ { "target": "com.amazonaws.acmpca#InvalidArnException" }, { "target": "com.amazonaws.acmpca#InvalidStateException" }, { "target": "com.amazonaws.acmpca#RequestFailedException" }, { "target": "com.amazonaws.acmpca#RequestInProgressException" }, { "target": "com.amazonaws.acmpca#ResourceNotFoundException" } ], "traits": { "smithy.api#documentation": "

Retrieves a certificate from your private CA or one that has been shared with you. The\n\t\t\tARN of the certificate is returned when you call the IssueCertificate action. You\n\t\t\tmust specify both the ARN of your private CA and the ARN of the issued certificate when\n\t\t\tcalling the GetCertificate action. You can retrieve the\n\t\t\tcertificate if it is in the ISSUED state. You can call\n\t\t\tthe CreateCertificateAuthorityAuditReport action to create a report that\n\t\t\tcontains information about all of the certificates issued and revoked by your private\n\t\t\tCA.

", "smithy.waiters#waitable": { "CertificateIssued": { "documentation": "Wait until a certificate is issued", "acceptors": [ { "state": "success", "matcher": { "success": true } }, { "state": "retry", "matcher": { "errorType": "RequestInProgressException" } } ], "minDelay": 3 } } } }, "com.amazonaws.acmpca#GetCertificateAuthorityCertificate": { "type": "operation", "input": { "target": "com.amazonaws.acmpca#GetCertificateAuthorityCertificateRequest" }, "output": { "target": "com.amazonaws.acmpca#GetCertificateAuthorityCertificateResponse" }, "errors": [ { "target": "com.amazonaws.acmpca#InvalidArnException" }, { "target": "com.amazonaws.acmpca#InvalidStateException" }, { "target": "com.amazonaws.acmpca#ResourceNotFoundException" } ], "traits": { "smithy.api#documentation": "

Retrieves the certificate and certificate chain for your private certificate authority\n\t\t\t(CA) or one that has been shared with you. Both the certificate and the chain are base64\n\t\t\tPEM-encoded. The chain does not include the CA certificate. Each certificate in the\n\t\t\tchain signs the one before it.

" } }, "com.amazonaws.acmpca#GetCertificateAuthorityCertificateRequest": { "type": "structure", "members": { "CertificateAuthorityArn": { "target": "com.amazonaws.acmpca#Arn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of your private CA. This is of the form:

\n\t\t

\n\t\t\t arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012\n .\n\t\t

", "smithy.api#required": {} } } } }, "com.amazonaws.acmpca#GetCertificateAuthorityCertificateResponse": { "type": "structure", "members": { "Certificate": { "target": "com.amazonaws.acmpca#CertificateBody", "traits": { "smithy.api#documentation": "

Base64-encoded certificate authority (CA) certificate.

" } }, "CertificateChain": { "target": "com.amazonaws.acmpca#CertificateChain", "traits": { "smithy.api#documentation": "

Base64-encoded certificate chain that includes any intermediate certificates and\n\t\t\tchains up to root certificate that you used to sign your private CA certificate. The\n\t\t\tchain does not include your private CA certificate. If this is a root CA, the value will\n\t\t\tbe null.

" } } } }, "com.amazonaws.acmpca#GetCertificateAuthorityCsr": { "type": "operation", "input": { "target": "com.amazonaws.acmpca#GetCertificateAuthorityCsrRequest" }, "output": { "target": "com.amazonaws.acmpca#GetCertificateAuthorityCsrResponse" }, "errors": [ { "target": "com.amazonaws.acmpca#InvalidArnException" }, { "target": "com.amazonaws.acmpca#InvalidStateException" }, { "target": "com.amazonaws.acmpca#RequestFailedException" }, { "target": "com.amazonaws.acmpca#RequestInProgressException" }, { "target": "com.amazonaws.acmpca#ResourceNotFoundException" } ], "traits": { "smithy.api#documentation": "

Retrieves the certificate signing request (CSR) for your private certificate authority\n\t\t\t(CA). The CSR is created when you call the CreateCertificateAuthority action. Sign the CSR with your ACM Private CA-hosted or\n\t\t\ton-premises root or subordinate CA. Then import the signed certificate back into ACM Private CA\n\t\t\tby calling the ImportCertificateAuthorityCertificate action. The CSR is returned as a\n\t\t\tbase64 PEM-encoded string.

", "smithy.waiters#waitable": { "CertificateAuthorityCSRCreated": { "documentation": "Wait until a Certificate Authority CSR is created", "acceptors": [ { "state": "success", "matcher": { "success": true } }, { "state": "retry", "matcher": { "errorType": "RequestInProgressException" } } ], "minDelay": 3 } } } }, "com.amazonaws.acmpca#GetCertificateAuthorityCsrRequest": { "type": "structure", "members": { "CertificateAuthorityArn": { "target": "com.amazonaws.acmpca#Arn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) that was returned when you called the CreateCertificateAuthority action. This must be of the form:

\n\t\t

\n\t\t\t arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012\n \n\t\t

", "smithy.api#required": {} } } } }, "com.amazonaws.acmpca#GetCertificateAuthorityCsrResponse": { "type": "structure", "members": { "Csr": { "target": "com.amazonaws.acmpca#CsrBody", "traits": { "smithy.api#documentation": "

The base64 PEM-encoded certificate signing request (CSR) for your private CA\n\t\t\tcertificate.

" } } } }, "com.amazonaws.acmpca#GetCertificateRequest": { "type": "structure", "members": { "CertificateAuthorityArn": { "target": "com.amazonaws.acmpca#Arn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) that was returned when you called CreateCertificateAuthority. This must be of the form:

\n\t\t

\n\t\t\t arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012\n .\n\t\t

", "smithy.api#required": {} } }, "CertificateArn": { "target": "com.amazonaws.acmpca#Arn", "traits": { "smithy.api#documentation": "

The ARN of the issued certificate. The ARN contains the certificate serial number and\n\t\t\tmust be in the following form:

\n\t\t

\n\t\t\t arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012/certificate/286535153982981100925020015808220737245\n \n\t\t

", "smithy.api#required": {} } } } }, "com.amazonaws.acmpca#GetCertificateResponse": { "type": "structure", "members": { "Certificate": { "target": "com.amazonaws.acmpca#CertificateBody", "traits": { "smithy.api#documentation": "

The base64 PEM-encoded certificate specified by the CertificateArn\n\t\t\tparameter.

" } }, "CertificateChain": { "target": "com.amazonaws.acmpca#CertificateChain", "traits": { "smithy.api#documentation": "

The base64 PEM-encoded certificate chain that chains up to the root CA certificate\n\t\t\tthat you used to sign your private CA certificate.

" } } } }, "com.amazonaws.acmpca#GetPolicy": { "type": "operation", "input": { "target": "com.amazonaws.acmpca#GetPolicyRequest" }, "output": { "target": "com.amazonaws.acmpca#GetPolicyResponse" }, "errors": [ { "target": "com.amazonaws.acmpca#InvalidArnException" }, { "target": "com.amazonaws.acmpca#InvalidStateException" }, { "target": "com.amazonaws.acmpca#RequestFailedException" }, { "target": "com.amazonaws.acmpca#ResourceNotFoundException" } ], "traits": { "smithy.api#documentation": "

Retrieves the resource-based policy attached to a private CA. If either the private CA\n\t\t\tresource or the policy cannot be found, this action returns a\n\t\t\t\tResourceNotFoundException.

\n\t\t

The policy can be attached or updated with PutPolicy and removed with DeletePolicy.

\n

\n About Policies\n

\n " } }, "com.amazonaws.acmpca#GetPolicyRequest": { "type": "structure", "members": { "ResourceArn": { "target": "com.amazonaws.acmpca#Arn", "traits": { "smithy.api#documentation": "

The Amazon Resource Number (ARN) of the private CA that will have its policy\n\t\t\tretrieved. You can find the CA's ARN by calling the ListCertificateAuthorities action.\n\t\t\t\n\t\t

", "smithy.api#required": {} } } } }, "com.amazonaws.acmpca#GetPolicyResponse": { "type": "structure", "members": { "Policy": { "target": "com.amazonaws.acmpca#AWSPolicy", "traits": { "smithy.api#documentation": "

The policy attached to the private CA as a JSON document.

" } } } }, "com.amazonaws.acmpca#IdempotencyToken": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 36 }, "smithy.api#pattern": "[\\u0009\\u000A\\u000D\\u0020-\\u00FF]*" } }, "com.amazonaws.acmpca#ImportCertificateAuthorityCertificate": { "type": "operation", "input": { "target": "com.amazonaws.acmpca#ImportCertificateAuthorityCertificateRequest" }, "errors": [ { "target": "com.amazonaws.acmpca#CertificateMismatchException" }, { "target": "com.amazonaws.acmpca#ConcurrentModificationException" }, { "target": "com.amazonaws.acmpca#InvalidArnException" }, { "target": "com.amazonaws.acmpca#InvalidRequestException" }, { "target": "com.amazonaws.acmpca#InvalidStateException" }, { "target": "com.amazonaws.acmpca#MalformedCertificateException" }, { "target": "com.amazonaws.acmpca#RequestFailedException" }, { "target": "com.amazonaws.acmpca#RequestInProgressException" }, { "target": "com.amazonaws.acmpca#ResourceNotFoundException" } ], "traits": { "smithy.api#documentation": "

Imports a signed private CA certificate into ACM Private CA. This action is used when you are\n\t\t\tusing a chain of trust whose root is located outside ACM Private CA. Before you can call this\n\t\t\taction, the following preparations must in place:

\n\t\t
    \n
  1. \n\t\t\t\t

    In ACM Private CA, call the CreateCertificateAuthority action to create the private CA that you\n\t\t\t\t\tplan to back with the imported certificate.

    \n\t\t\t
  2. \n
  3. \n\t\t\t\t

    Call the GetCertificateAuthorityCsr action to generate a certificate signing\n\t\t\t\t\trequest (CSR).

    \n\t\t\t
  4. \n
  5. \n\t\t\t\t

    Sign the CSR using a root or intermediate CA hosted by either an on-premises\n\t\t\t\t\tPKI hierarchy or by a commercial CA.

    \n\t\t\t
  6. \n
  7. \n\t\t\t\t

    Create a certificate chain and copy the signed certificate and the certificate\n\t\t\t\t\tchain to your working directory.

    \n\t\t\t
  8. \n
\n\t\t

ACM Private CA supports three scenarios for installing a CA certificate:

\n\t\t \n\t\t

The following additional requirements apply when you import a CA certificate.

\n\t\t \n\t\t

\n Enforcement of Critical Constraints\n

\n\t\t

ACM Private CA allows the following extensions to be marked critical in the imported CA\n\t\t\tcertificate or chain.

\n\t\t \n\t\t

ACM Private CA rejects the following extensions when they are marked critical in an imported CA\n\t\t\tcertificate or chain.

\n\t\t " } }, "com.amazonaws.acmpca#ImportCertificateAuthorityCertificateRequest": { "type": "structure", "members": { "CertificateAuthorityArn": { "target": "com.amazonaws.acmpca#Arn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) that was returned when you called CreateCertificateAuthority. This must be of the form:

\n\t\t

\n arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012\n \n

", "smithy.api#required": {} } }, "Certificate": { "target": "com.amazonaws.acmpca#CertificateBodyBlob", "traits": { "smithy.api#documentation": "

The PEM-encoded certificate for a private CA. This may be a self-signed certificate in\n\t\t\tthe case of a root CA, or it may be signed by another CA that you control.

", "smithy.api#required": {} } }, "CertificateChain": { "target": "com.amazonaws.acmpca#CertificateChainBlob", "traits": { "smithy.api#documentation": "

A PEM-encoded file that contains all of your certificates, other than the certificate\n\t\t\tyou're importing, chaining up to your root CA. Your ACM Private CA-hosted or on-premises root\n\t\t\tcertificate is the last in the chain, and each certificate in the chain signs the one\n\t\t\tpreceding.

\n\t\t

This parameter must be supplied when you import a subordinate CA. When you import a\n\t\t\troot CA, there is no chain.

" } } } }, "com.amazonaws.acmpca#Integer1To5000": { "type": "integer", "traits": { "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 5000 } } }, "com.amazonaws.acmpca#InvalidArgsException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.acmpca#String" } }, "traits": { "smithy.api#documentation": "

One or more of the specified arguments was not valid.

", "smithy.api#error": "client" } }, "com.amazonaws.acmpca#InvalidArnException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.acmpca#String" } }, "traits": { "smithy.api#documentation": "

The requested Amazon Resource Name (ARN) does not refer to an existing\n\t\t\tresource.

", "smithy.api#error": "client" } }, "com.amazonaws.acmpca#InvalidNextTokenException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.acmpca#String" } }, "traits": { "smithy.api#documentation": "

The token specified in the NextToken argument is not valid. Use the token\n\t\t\treturned from your previous call to ListCertificateAuthorities.

", "smithy.api#error": "client" } }, "com.amazonaws.acmpca#InvalidPolicyException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.acmpca#String" } }, "traits": { "smithy.api#documentation": "

The resource policy is invalid or is missing a required statement. For general\n\t\t\tinformation about IAM policy and statement structure, see Overview of JSON Policies.

", "smithy.api#error": "client" } }, "com.amazonaws.acmpca#InvalidRequestException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.acmpca#String" } }, "traits": { "smithy.api#documentation": "

The request action cannot be performed or is prohibited.

", "smithy.api#error": "client" } }, "com.amazonaws.acmpca#InvalidStateException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.acmpca#String" } }, "traits": { "smithy.api#documentation": "

The state of the private CA does not allow this action to occur.

", "smithy.api#error": "client" } }, "com.amazonaws.acmpca#InvalidTagException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.acmpca#String" } }, "traits": { "smithy.api#documentation": "

The tag associated with the CA is not valid. The invalid argument is contained in the\n\t\t\tmessage field.

", "smithy.api#error": "client" } }, "com.amazonaws.acmpca#IssueCertificate": { "type": "operation", "input": { "target": "com.amazonaws.acmpca#IssueCertificateRequest" }, "output": { "target": "com.amazonaws.acmpca#IssueCertificateResponse" }, "errors": [ { "target": "com.amazonaws.acmpca#InvalidArgsException" }, { "target": "com.amazonaws.acmpca#InvalidArnException" }, { "target": "com.amazonaws.acmpca#InvalidStateException" }, { "target": "com.amazonaws.acmpca#LimitExceededException" }, { "target": "com.amazonaws.acmpca#MalformedCSRException" }, { "target": "com.amazonaws.acmpca#ResourceNotFoundException" } ], "traits": { "smithy.api#documentation": "

Uses your private certificate authority (CA), or one that has been shared with you, to\n\t\t\tissue a client certificate. This action returns the Amazon Resource Name (ARN) of the\n\t\t\tcertificate. You can retrieve the certificate by calling the GetCertificate action and\n\t\t\tspecifying the ARN.

\n\t\t \n\t\t\t

You cannot use the ACM ListCertificateAuthorities action to retrieve the ARNs of the\n\t\t\t\tcertificates that you issue by using ACM Private CA.

\n\t\t
", "smithy.api#idempotent": {} } }, "com.amazonaws.acmpca#IssueCertificateRequest": { "type": "structure", "members": { "ApiPassthrough": { "target": "com.amazonaws.acmpca#ApiPassthrough", "traits": { "smithy.api#documentation": "

Specifies X.509 certificate information to be included in the issued certificate. An\n\t\t\t\tAPIPassthrough or APICSRPassthrough template variant must\n\t\t\tbe selected, or else this parameter is ignored. For more information about using these\n\t\t\ttemplates, see Understanding Certificate Templates.

\n\t\t

If conflicting or duplicate certificate information is supplied during certificate\n\t\t\tissuance, ACM Private CA applies order of\n\t\t\t\toperation rules to determine what information is used.

" } }, "CertificateAuthorityArn": { "target": "com.amazonaws.acmpca#Arn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) that was returned when you called CreateCertificateAuthority. This must be of the form:

\n\t\t

\n\t\t\t arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012\n \n\t\t

", "smithy.api#required": {} } }, "Csr": { "target": "com.amazonaws.acmpca#CsrBlob", "traits": { "smithy.api#documentation": "

The certificate signing request (CSR) for the certificate you want to issue. As an\n\t\t\texample, you can use the following OpenSSL command to create the CSR and a 2048 bit RSA\n\t\t\tprivate key.

\n\t\t

\n\t\t\t openssl req -new -newkey rsa:2048 -days 365 -keyout private/test_cert_priv_key.pem\n\t\t\t\t-out csr/test_cert_.csr\n\t\t

\n\t\t

If you have a configuration file, you can then use the following OpenSSL command. The\n\t\t\t\tusr_cert block in the configuration file contains your X509 version 3\n\t\t\textensions.

\n\t\t

\n openssl req -new -config openssl_rsa.cnf -extensions usr_cert -newkey rsa:2048\n\t\t\t\t-days -365 -keyout private/test_cert_priv_key.pem -out\n\t\t\tcsr/test_cert_.csr\n

\n\t\t

Note: A CSR must provide either a subject name or a\n\t\t\t\tsubject alternative name or the request will be rejected.\n\t\t

", "smithy.api#required": {} } }, "SigningAlgorithm": { "target": "com.amazonaws.acmpca#SigningAlgorithm", "traits": { "smithy.api#documentation": "

The name of the algorithm that will be used to sign the certificate to be issued.

\n\t\t

This parameter should not be confused with the SigningAlgorithm parameter\n\t\t\tused to sign a CSR in the CreateCertificateAuthority action.

", "smithy.api#required": {} } }, "TemplateArn": { "target": "com.amazonaws.acmpca#Arn", "traits": { "smithy.api#documentation": "

Specifies a custom configuration template to use when issuing a certificate. If this\n\t\t\tparameter is not provided, ACM Private CA defaults to the EndEntityCertificate/V1\n\t\t\ttemplate. For CA certificates, you should choose the shortest path length that meets\n\t\t\tyour needs. The path length is indicated by the PathLenN portion of\n\t\t\tthe ARN, where N is the CA depth.

\n\t\t

Note: The CA depth configured on a subordinate CA certificate must not exceed the\n\t\t\tlimit set by its parents in the CA hierarchy.

\n\t\t

For a list of TemplateArn values supported by ACM Private CA, see Understanding Certificate\n\t\t\t\tTemplates.

" } }, "Validity": { "target": "com.amazonaws.acmpca#Validity", "traits": { "smithy.api#documentation": "

Information describing the end of the validity period of the certificate. This\n\t\t\tparameter sets the “Not After” date for the certificate.

\n\t\t

Certificate validity is the period of time during which a certificate is valid.\n\t\t\tValidity can be expressed as an explicit date and time when the certificate expires, or\n\t\t\tas a span of time after issuance, stated in days, months, or years. For more\n\t\t\tinformation, see Validity in RFC 5280.

\n\t\t

This value is unaffected when ValidityNotBefore is also specified. For\n\t\t\texample, if Validity is set to 20 days in the future, the certificate will\n\t\t\texpire 20 days from issuance time regardless of the ValidityNotBefore\n\t\t\tvalue.

\n\t\t

The end of the validity period configured on a certificate must not exceed the limit\n\t\t\tset on its parents in the CA hierarchy.

", "smithy.api#required": {} } }, "ValidityNotBefore": { "target": "com.amazonaws.acmpca#Validity", "traits": { "smithy.api#documentation": "

Information describing the start of the validity period of the certificate. This\n\t\t\tparameter sets the “Not Before\" date for the certificate.

\n\t\t

By default, when issuing a certificate, ACM Private CA sets the \"Not Before\" date to the\n\t\t\tissuance time minus 60 minutes. This compensates for clock inconsistencies across\n\t\t\tcomputer systems. The ValidityNotBefore parameter can be used to customize\n\t\t\tthe “Not Before” value.

\n\t\t

Unlike the Validity parameter, the ValidityNotBefore\n\t\t\tparameter is optional.

\n\t\t

The ValidityNotBefore value is expressed as an explicit date and time,\n\t\t\tusing the Validity type value ABSOLUTE. For more information,\n\t\t\tsee Validity in this API reference and Validity in RFC\n\t\t\t5280.

" } }, "IdempotencyToken": { "target": "com.amazonaws.acmpca#IdempotencyToken", "traits": { "smithy.api#documentation": "

Alphanumeric string that can be used to distinguish between calls to the IssueCertificate action. Idempotency tokens for IssueCertificate time out after one minute. Therefore, if you\n\t\t\tcall IssueCertificate multiple times with the same\n\t\t\tidempotency token within one minute, ACM Private CA recognizes that you are requesting only one\n\t\t\tcertificate and will issue only one. If you change the idempotency token for each call,\n\t\t\tPCA recognizes that you are requesting multiple certificates.

" } } } }, "com.amazonaws.acmpca#IssueCertificateResponse": { "type": "structure", "members": { "CertificateArn": { "target": "com.amazonaws.acmpca#Arn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the issued certificate and the certificate serial\n\t\t\tnumber. This is of the form:

\n\t\t

\n\t\t\t arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012/certificate/286535153982981100925020015808220737245\n \n\t\t

" } } } }, "com.amazonaws.acmpca#KeyAlgorithm": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "RSA_2048", "name": "RSA_2048" }, { "value": "RSA_4096", "name": "RSA_4096" }, { "value": "EC_prime256v1", "name": "EC_prime256v1" }, { "value": "EC_secp384r1", "name": "EC_secp384r1" } ] } }, "com.amazonaws.acmpca#KeyStorageSecurityStandard": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "FIPS_140_2_LEVEL_2_OR_HIGHER", "name": "FIPS_140_2_LEVEL_2_OR_HIGHER" }, { "value": "FIPS_140_2_LEVEL_3_OR_HIGHER", "name": "FIPS_140_2_LEVEL_3_OR_HIGHER" } ] } }, "com.amazonaws.acmpca#KeyUsage": { "type": "structure", "members": { "DigitalSignature": { "target": "com.amazonaws.acmpca#Boolean", "traits": { "smithy.api#documentation": "

Key can be used for digital signing.

" } }, "NonRepudiation": { "target": "com.amazonaws.acmpca#Boolean", "traits": { "smithy.api#documentation": "

Key can be used for non-repudiation.

" } }, "KeyEncipherment": { "target": "com.amazonaws.acmpca#Boolean", "traits": { "smithy.api#documentation": "

Key can be used to encipher data.

" } }, "DataEncipherment": { "target": "com.amazonaws.acmpca#Boolean", "traits": { "smithy.api#documentation": "

Key can be used to decipher data.

" } }, "KeyAgreement": { "target": "com.amazonaws.acmpca#Boolean", "traits": { "smithy.api#documentation": "

Key can be used in a key-agreement protocol.

" } }, "KeyCertSign": { "target": "com.amazonaws.acmpca#Boolean", "traits": { "smithy.api#documentation": "

Key can be used to sign certificates.

" } }, "CRLSign": { "target": "com.amazonaws.acmpca#Boolean", "traits": { "smithy.api#documentation": "

Key can be used to sign CRLs.

" } }, "EncipherOnly": { "target": "com.amazonaws.acmpca#Boolean", "traits": { "smithy.api#documentation": "

Key can be used only to encipher data.

" } }, "DecipherOnly": { "target": "com.amazonaws.acmpca#Boolean", "traits": { "smithy.api#documentation": "

Key can be used only to decipher data.

" } } }, "traits": { "smithy.api#documentation": "

Defines one or more purposes for which the key contained in the certificate can be\n\t\t\tused. Default value for each option is false.

" } }, "com.amazonaws.acmpca#LimitExceededException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.acmpca#String" } }, "traits": { "smithy.api#documentation": "

An ACM Private CA quota has been exceeded. See the exception message returned to determine the\n\t\t\tquota that was exceeded.

", "smithy.api#error": "client" } }, "com.amazonaws.acmpca#ListCertificateAuthorities": { "type": "operation", "input": { "target": "com.amazonaws.acmpca#ListCertificateAuthoritiesRequest" }, "output": { "target": "com.amazonaws.acmpca#ListCertificateAuthoritiesResponse" }, "errors": [ { "target": "com.amazonaws.acmpca#InvalidNextTokenException" } ], "traits": { "smithy.api#documentation": "

Lists the private certificate authorities that you created by using the CreateCertificateAuthority action.

", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", "items": "CertificateAuthorities", "pageSize": "MaxResults" } } }, "com.amazonaws.acmpca#ListCertificateAuthoritiesRequest": { "type": "structure", "members": { "NextToken": { "target": "com.amazonaws.acmpca#NextToken", "traits": { "smithy.api#documentation": "

Use this parameter when paginating results in a subsequent request after you receive a\n\t\t\tresponse with truncated results. Set it to the value of the NextToken\n\t\t\tparameter from the response you just received.

" } }, "MaxResults": { "target": "com.amazonaws.acmpca#MaxResults", "traits": { "smithy.api#documentation": "

Use this parameter when paginating results to specify the maximum number of items to\n\t\t\treturn in the response on each page. If additional items exist beyond the number you\n\t\t\tspecify, the NextToken element is sent in the response. Use this\n\t\t\t\tNextToken value in a subsequent request to retrieve additional\n\t\t\titems.

" } }, "ResourceOwner": { "target": "com.amazonaws.acmpca#ResourceOwner", "traits": { "smithy.api#documentation": "

Use this parameter to filter the returned set of certificate authorities based on\n\t\t\ttheir owner. The default is SELF.

" } } } }, "com.amazonaws.acmpca#ListCertificateAuthoritiesResponse": { "type": "structure", "members": { "CertificateAuthorities": { "target": "com.amazonaws.acmpca#CertificateAuthorities", "traits": { "smithy.api#documentation": "

Summary information about each certificate authority you have created.

" } }, "NextToken": { "target": "com.amazonaws.acmpca#NextToken", "traits": { "smithy.api#documentation": "

When the list is truncated, this value is present and should be used for the\n\t\t\t\tNextToken parameter in a subsequent pagination request.

" } } } }, "com.amazonaws.acmpca#ListPermissions": { "type": "operation", "input": { "target": "com.amazonaws.acmpca#ListPermissionsRequest" }, "output": { "target": "com.amazonaws.acmpca#ListPermissionsResponse" }, "errors": [ { "target": "com.amazonaws.acmpca#InvalidArnException" }, { "target": "com.amazonaws.acmpca#InvalidNextTokenException" }, { "target": "com.amazonaws.acmpca#InvalidStateException" }, { "target": "com.amazonaws.acmpca#RequestFailedException" }, { "target": "com.amazonaws.acmpca#ResourceNotFoundException" } ], "traits": { "smithy.api#documentation": "

List all permissions on a private CA, if any, granted to the AWS Certificate Manager (ACM) service\n\t\t\tprincipal (acm.amazonaws.com).

\n\t\t

These permissions allow ACM to issue and renew ACM certificates that reside in the\n\t\t\tsame AWS account as the CA.

\n\t\t

Permissions can be granted with the CreatePermission action and\n\t\t\trevoked with the DeletePermission action.

\n\t\t

\n About Permissions\n

\n ", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", "items": "Permissions", "pageSize": "MaxResults" } } }, "com.amazonaws.acmpca#ListPermissionsRequest": { "type": "structure", "members": { "CertificateAuthorityArn": { "target": "com.amazonaws.acmpca#Arn", "traits": { "smithy.api#documentation": "

The Amazon Resource Number (ARN) of the private CA to inspect. You can find the ARN by\n\t\t\tcalling the ListCertificateAuthorities action. This must be of the form:\n\t\t\t\tarn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012\n\t\t\tYou can get a private CA's ARN by running the ListCertificateAuthorities action.

", "smithy.api#required": {} } }, "NextToken": { "target": "com.amazonaws.acmpca#NextToken", "traits": { "smithy.api#documentation": "

When paginating results, use this parameter in a subsequent request after you receive\n\t\t\ta response with truncated results. Set it to the value of NextToken from the response you just received.

" } }, "MaxResults": { "target": "com.amazonaws.acmpca#MaxResults", "traits": { "smithy.api#documentation": "

When paginating results, use this parameter to specify the maximum number of items to\n\t\t\treturn in the response. If additional items exist beyond the number you specify, the\n\t\t\t\tNextToken element is sent in the response. Use this\n\t\t\t\tNextToken value in a subsequent request to retrieve\n\t\t\tadditional items.

" } } } }, "com.amazonaws.acmpca#ListPermissionsResponse": { "type": "structure", "members": { "Permissions": { "target": "com.amazonaws.acmpca#PermissionList", "traits": { "smithy.api#documentation": "

Summary information about each permission assigned by the specified private CA,\n\t\t\tincluding the action enabled, the policy provided, and the time of creation.

" } }, "NextToken": { "target": "com.amazonaws.acmpca#NextToken", "traits": { "smithy.api#documentation": "

When the list is truncated, this value is present and should be used for the NextToken parameter in a subsequent pagination request.\n\t\t

" } } } }, "com.amazonaws.acmpca#ListTags": { "type": "operation", "input": { "target": "com.amazonaws.acmpca#ListTagsRequest" }, "output": { "target": "com.amazonaws.acmpca#ListTagsResponse" }, "errors": [ { "target": "com.amazonaws.acmpca#InvalidArnException" }, { "target": "com.amazonaws.acmpca#InvalidStateException" }, { "target": "com.amazonaws.acmpca#ResourceNotFoundException" } ], "traits": { "smithy.api#documentation": "

Lists the tags, if any, that are associated with your private CA or one that has been\n\t\t\tshared with you. Tags are labels that you can use to identify and organize your CAs.\n\t\t\tEach tag consists of a key and an optional value. Call the TagCertificateAuthority\n\t\t\taction to add one or more tags to your CA. Call the UntagCertificateAuthority action to remove tags.

", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", "items": "Tags", "pageSize": "MaxResults" } } }, "com.amazonaws.acmpca#ListTagsRequest": { "type": "structure", "members": { "CertificateAuthorityArn": { "target": "com.amazonaws.acmpca#Arn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) that was returned when you called the CreateCertificateAuthority action. This must be of the form:

\n\t\t

\n\t\t\t arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012\n \n\t\t

", "smithy.api#required": {} } }, "NextToken": { "target": "com.amazonaws.acmpca#NextToken", "traits": { "smithy.api#documentation": "

Use this parameter when paginating results in a subsequent request after you receive a\n\t\t\tresponse with truncated results. Set it to the value of NextToken from the response you just received.

" } }, "MaxResults": { "target": "com.amazonaws.acmpca#MaxResults", "traits": { "smithy.api#documentation": "

Use this parameter when paginating results to specify the maximum number of items to\n\t\t\treturn in the response. If additional items exist beyond the number you specify, the\n\t\t\t\tNextToken element is sent in the response. Use this\n\t\t\t\tNextToken value in a subsequent request to retrieve\n\t\t\tadditional items.

" } } } }, "com.amazonaws.acmpca#ListTagsResponse": { "type": "structure", "members": { "Tags": { "target": "com.amazonaws.acmpca#TagList", "traits": { "smithy.api#documentation": "

The tags associated with your private CA.

" } }, "NextToken": { "target": "com.amazonaws.acmpca#NextToken", "traits": { "smithy.api#documentation": "

When the list is truncated, this value is present and should be used for the NextToken parameter in a subsequent pagination request.\n\t\t

" } } } }, "com.amazonaws.acmpca#LockoutPreventedException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.acmpca#String" } }, "traits": { "smithy.api#documentation": "

The current action was prevented because it would lock the caller out from performing\n\t\t\tsubsequent actions. Verify that the specified parameters would not result in the caller\n\t\t\tbeing denied access to the resource.

", "smithy.api#error": "client" } }, "com.amazonaws.acmpca#MalformedCSRException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.acmpca#String" } }, "traits": { "smithy.api#documentation": "

The certificate signing request is invalid.

", "smithy.api#error": "client" } }, "com.amazonaws.acmpca#MalformedCertificateException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.acmpca#String" } }, "traits": { "smithy.api#documentation": "

One or more fields in the certificate are invalid.

", "smithy.api#error": "client" } }, "com.amazonaws.acmpca#MaxResults": { "type": "integer", "traits": { "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 } } }, "com.amazonaws.acmpca#NextToken": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 500 } } }, "com.amazonaws.acmpca#OtherName": { "type": "structure", "members": { "TypeId": { "target": "com.amazonaws.acmpca#CustomObjectIdentifier", "traits": { "smithy.api#documentation": "

Specifies an OID.

", "smithy.api#required": {} } }, "Value": { "target": "com.amazonaws.acmpca#String256", "traits": { "smithy.api#documentation": "

Specifies an OID value.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Defines a custom ASN.1 X.400 GeneralName using an object identifier (OID)\n\t\t\tand value. The OID must satisfy the regular expression shown below. For more\n\t\t\tinformation, see NIST's definition of Object Identifier\n\t\t\t\t(OID).

" } }, "com.amazonaws.acmpca#PermanentDeletionTimeInDays": { "type": "integer", "traits": { "smithy.api#box": {}, "smithy.api#range": { "min": 7, "max": 30 } } }, "com.amazonaws.acmpca#Permission": { "type": "structure", "members": { "CertificateAuthorityArn": { "target": "com.amazonaws.acmpca#Arn", "traits": { "smithy.api#documentation": "

The Amazon Resource Number (ARN) of the private CA from which the permission was\n\t\t\tissued.

" } }, "CreatedAt": { "target": "com.amazonaws.acmpca#TStamp", "traits": { "smithy.api#documentation": "

The time at which the permission was created.

" } }, "Principal": { "target": "com.amazonaws.acmpca#Principal", "traits": { "smithy.api#documentation": "

The AWS service or entity that holds the permission. At this time, the only valid\n\t\t\tprincipal is acm.amazonaws.com.

" } }, "SourceAccount": { "target": "com.amazonaws.acmpca#AccountId", "traits": { "smithy.api#documentation": "

The ID of the account that assigned the permission.

" } }, "Actions": { "target": "com.amazonaws.acmpca#ActionList", "traits": { "smithy.api#documentation": "

The private CA actions that can be performed by the designated AWS service.

" } }, "Policy": { "target": "com.amazonaws.acmpca#AWSPolicy", "traits": { "smithy.api#documentation": "

The name of the policy that is associated with the permission.

" } } }, "traits": { "smithy.api#documentation": "

Permissions designate which private CA actions can be performed by an AWS service or\n\t\t\tentity. In order for ACM to automatically renew private certificates, you must give\n\t\t\tthe ACM service principal all available permissions (IssueCertificate,\n\t\t\t\tGetCertificate, and ListPermissions). Permissions can be\n\t\t\tassigned with the CreatePermission action,\n\t\t\tremoved with the DeletePermission action, and\n\t\t\tlisted with the ListPermissions action.

" } }, "com.amazonaws.acmpca#PermissionAlreadyExistsException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.acmpca#String" } }, "traits": { "smithy.api#documentation": "

The designated permission has already been given to the user.

", "smithy.api#error": "client" } }, "com.amazonaws.acmpca#PermissionList": { "type": "list", "member": { "target": "com.amazonaws.acmpca#Permission" }, "traits": { "smithy.api#length": { "min": 0 } } }, "com.amazonaws.acmpca#PolicyInformation": { "type": "structure", "members": { "CertPolicyId": { "target": "com.amazonaws.acmpca#CustomObjectIdentifier", "traits": { "smithy.api#documentation": "

Specifies the object identifier (OID) of the certificate policy under which the\n\t\t\tcertificate was issued. For more information, see NIST's definition of Object Identifier\n\t\t\t\t(OID).

", "smithy.api#required": {} } }, "PolicyQualifiers": { "target": "com.amazonaws.acmpca#PolicyQualifierInfoList", "traits": { "smithy.api#documentation": "

Modifies the given CertPolicyId with a qualifier. ACM Private CA supports the\n\t\t\tcertification practice statement (CPS) qualifier.

" } } }, "traits": { "smithy.api#documentation": "

Defines the X.509 CertificatePolicies extension.

" } }, "com.amazonaws.acmpca#PolicyQualifierId": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "CPS", "name": "CPS" } ] } }, "com.amazonaws.acmpca#PolicyQualifierInfo": { "type": "structure", "members": { "PolicyQualifierId": { "target": "com.amazonaws.acmpca#PolicyQualifierId", "traits": { "smithy.api#documentation": "

Identifies the qualifier modifying a CertPolicyId.

", "smithy.api#required": {} } }, "Qualifier": { "target": "com.amazonaws.acmpca#Qualifier", "traits": { "smithy.api#documentation": "

Defines the qualifier type. ACM Private CA supports the use of a URI for a CPS qualifier in\n\t\t\tthis field.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Modifies the CertPolicyId of a PolicyInformation object with\n\t\t\ta qualifier. ACM Private CA supports the certification practice statement (CPS) qualifier.

" } }, "com.amazonaws.acmpca#PolicyQualifierInfoList": { "type": "list", "member": { "target": "com.amazonaws.acmpca#PolicyQualifierInfo" }, "traits": { "smithy.api#length": { "min": 1, "max": 20 } } }, "com.amazonaws.acmpca#PositiveLong": { "type": "long", "traits": { "smithy.api#box": {}, "smithy.api#range": { "min": 1 } } }, "com.amazonaws.acmpca#Principal": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 128 }, "smithy.api#pattern": "^[^*]+$" } }, "com.amazonaws.acmpca#PutPolicy": { "type": "operation", "input": { "target": "com.amazonaws.acmpca#PutPolicyRequest" }, "errors": [ { "target": "com.amazonaws.acmpca#ConcurrentModificationException" }, { "target": "com.amazonaws.acmpca#InvalidArnException" }, { "target": "com.amazonaws.acmpca#InvalidPolicyException" }, { "target": "com.amazonaws.acmpca#InvalidStateException" }, { "target": "com.amazonaws.acmpca#LockoutPreventedException" }, { "target": "com.amazonaws.acmpca#RequestFailedException" }, { "target": "com.amazonaws.acmpca#ResourceNotFoundException" } ], "traits": { "smithy.api#documentation": "

Attaches a resource-based policy to a private CA.

\n\t\t

A policy can also be applied by sharing a private CA through AWS Resource Access\n\t\t\tManager (RAM). For more information, see Attach a Policy for Cross-Account\n\t\t\tAccess.

\n\t\t

The policy can be displayed with GetPolicy and removed with DeletePolicy.

\n

\n About Policies\n

\n " } }, "com.amazonaws.acmpca#PutPolicyRequest": { "type": "structure", "members": { "ResourceArn": { "target": "com.amazonaws.acmpca#Arn", "traits": { "smithy.api#documentation": "

The Amazon Resource Number (ARN) of the private CA to associate with the policy. The\n\t\t\tARN of the CA can be found by calling the ListCertificateAuthorities action.

\n\t\t

", "smithy.api#required": {} } }, "Policy": { "target": "com.amazonaws.acmpca#AWSPolicy", "traits": { "smithy.api#documentation": "

The path and file name of a JSON-formatted IAM policy to attach to the specified\n\t\t\tprivate CA resource. If this policy does not contain all required statements or if it\n\t\t\tincludes any statement that is not allowed, the PutPolicy action returns an\n\t\t\t\tInvalidPolicyException. For information about IAM policy and\n\t\t\tstatement structure, see Overview of JSON Policies.

", "smithy.api#required": {} } } } }, "com.amazonaws.acmpca#Qualifier": { "type": "structure", "members": { "CpsUri": { "target": "com.amazonaws.acmpca#String256", "traits": { "smithy.api#documentation": "

Contains a pointer to a certification practice statement (CPS) published by the\n\t\t\tCA.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Defines a PolicyInformation qualifier. ACM Private CA supports the certification practice\n\t\t\t\tstatement (CPS) qualifier defined in RFC 5280.

" } }, "com.amazonaws.acmpca#RequestAlreadyProcessedException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.acmpca#String" } }, "traits": { "smithy.api#documentation": "

Your request has already been completed.

", "smithy.api#error": "client" } }, "com.amazonaws.acmpca#RequestFailedException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.acmpca#String" } }, "traits": { "smithy.api#documentation": "

The request has failed for an unspecified reason.

", "smithy.api#error": "client" } }, "com.amazonaws.acmpca#RequestInProgressException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.acmpca#String" } }, "traits": { "smithy.api#documentation": "

Your request is already in progress.

", "smithy.api#error": "client" } }, "com.amazonaws.acmpca#ResourceNotFoundException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.acmpca#String" } }, "traits": { "smithy.api#documentation": "

A resource such as a private CA, S3 bucket, certificate, audit report, or policy\n\t\t\tcannot be found.

", "smithy.api#error": "client" } }, "com.amazonaws.acmpca#ResourceOwner": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "SELF", "name": "SELF" }, { "value": "OTHER_ACCOUNTS", "name": "OTHER_ACCOUNTS" } ] } }, "com.amazonaws.acmpca#RestoreCertificateAuthority": { "type": "operation", "input": { "target": "com.amazonaws.acmpca#RestoreCertificateAuthorityRequest" }, "errors": [ { "target": "com.amazonaws.acmpca#InvalidArnException" }, { "target": "com.amazonaws.acmpca#InvalidStateException" }, { "target": "com.amazonaws.acmpca#ResourceNotFoundException" } ], "traits": { "smithy.api#documentation": "

Restores a certificate authority (CA) that is in the DELETED state. You\n\t\t\tcan restore a CA during the period that you defined in the PermanentDeletionTimeInDays parameter of the DeleteCertificateAuthority action. Currently, you can specify 7 to 30 days.\n\t\t\tIf you did not specify a PermanentDeletionTimeInDays\n\t\t\tvalue, by default you can restore the CA at any time in a 30 day period. You can check\n\t\t\tthe time remaining in the restoration period of a private CA in the DELETED\n\t\t\tstate by calling the DescribeCertificateAuthority or ListCertificateAuthorities actions. The status of a restored CA is set to\n\t\t\tits pre-deletion status when the RestoreCertificateAuthority action returns. To change its status to\n\t\t\t\tACTIVE, call the UpdateCertificateAuthority action. If the private CA was in the\n\t\t\t\tPENDING_CERTIFICATE state at deletion, you must use the ImportCertificateAuthorityCertificate action to import a certificate\n\t\t\tauthority into the private CA before it can be activated. You cannot restore a CA after\n\t\t\tthe restoration period has ended.

" } }, "com.amazonaws.acmpca#RestoreCertificateAuthorityRequest": { "type": "structure", "members": { "CertificateAuthorityArn": { "target": "com.amazonaws.acmpca#Arn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) that was returned when you called the CreateCertificateAuthority action. This must be of the form:

\n\t\t

\n\t\t\t arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012\n \n\t\t

", "smithy.api#required": {} } } } }, "com.amazonaws.acmpca#RevocationConfiguration": { "type": "structure", "members": { "CrlConfiguration": { "target": "com.amazonaws.acmpca#CrlConfiguration", "traits": { "smithy.api#documentation": "

Configuration of the certificate revocation list (CRL), if any, maintained by your\n\t\t\tprivate CA.

" } } }, "traits": { "smithy.api#documentation": "

Certificate revocation information used by the CreateCertificateAuthority and UpdateCertificateAuthority actions. Your private certificate authority (CA)\n\t\t\tcan create and maintain a certificate revocation list (CRL). A CRL contains information\n\t\t\tabout certificates revoked by your CA. For more information, see RevokeCertificate.

" } }, "com.amazonaws.acmpca#RevocationReason": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "UNSPECIFIED", "name": "UNSPECIFIED" }, { "value": "KEY_COMPROMISE", "name": "KEY_COMPROMISE" }, { "value": "CERTIFICATE_AUTHORITY_COMPROMISE", "name": "CERTIFICATE_AUTHORITY_COMPROMISE" }, { "value": "AFFILIATION_CHANGED", "name": "AFFILIATION_CHANGED" }, { "value": "SUPERSEDED", "name": "SUPERSEDED" }, { "value": "CESSATION_OF_OPERATION", "name": "CESSATION_OF_OPERATION" }, { "value": "PRIVILEGE_WITHDRAWN", "name": "PRIVILEGE_WITHDRAWN" }, { "value": "A_A_COMPROMISE", "name": "A_A_COMPROMISE" } ] } }, "com.amazonaws.acmpca#RevokeCertificate": { "type": "operation", "input": { "target": "com.amazonaws.acmpca#RevokeCertificateRequest" }, "errors": [ { "target": "com.amazonaws.acmpca#ConcurrentModificationException" }, { "target": "com.amazonaws.acmpca#InvalidArnException" }, { "target": "com.amazonaws.acmpca#InvalidRequestException" }, { "target": "com.amazonaws.acmpca#InvalidStateException" }, { "target": "com.amazonaws.acmpca#LimitExceededException" }, { "target": "com.amazonaws.acmpca#RequestAlreadyProcessedException" }, { "target": "com.amazonaws.acmpca#RequestFailedException" }, { "target": "com.amazonaws.acmpca#RequestInProgressException" }, { "target": "com.amazonaws.acmpca#ResourceNotFoundException" } ], "traits": { "smithy.api#documentation": "

Revokes a certificate that was issued inside ACM Private CA. If you enable a certificate\n\t\t\trevocation list (CRL) when you create or update your private CA, information about the\n\t\t\trevoked certificates will be included in the CRL. ACM Private CA writes the CRL to an S3 bucket\n\t\t\tthat you specify. A CRL is typically updated approximately 30 minutes after a\n\t\t\tcertificate is revoked. If for any reason the CRL update fails, ACM Private CA attempts makes\n\t\t\tfurther attempts every 15 minutes. With Amazon CloudWatch, you can create alarms for the\n\t\t\tmetrics CRLGenerated and MisconfiguredCRLBucket. For more\n\t\t\tinformation, see Supported CloudWatch Metrics.

\n \n

Both PCA and the IAM principal must have permission to write to\n the S3 bucket that you specify. If the IAM principal making the call\n does not have permission to write to the bucket, then an exception is\n thrown. For more information, see Configure\n Access to ACM Private CA.

\n
\n

ACM Private CA also writes\n\t\t\trevocation information to the audit report. For more information, see CreateCertificateAuthorityAuditReport.

\n\t\t \n\t\t\t

You cannot revoke a root CA self-signed certificate.

\n\t\t
" } }, "com.amazonaws.acmpca#RevokeCertificateRequest": { "type": "structure", "members": { "CertificateAuthorityArn": { "target": "com.amazonaws.acmpca#Arn", "traits": { "smithy.api#documentation": "

Amazon Resource Name (ARN) of the private CA that issued the certificate to be\n\t\t\trevoked. This must be of the form:

\n\t\t

\n\t\t\t arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012\n \n\t\t

", "smithy.api#required": {} } }, "CertificateSerial": { "target": "com.amazonaws.acmpca#String128", "traits": { "smithy.api#documentation": "

Serial number of the certificate to be revoked. This must be in hexadecimal format.\n\t\t\tYou can retrieve the serial number by calling GetCertificate with the Amazon\n\t\t\tResource Name (ARN) of the certificate you want and the ARN of your private CA. The\n\t\t\t\tGetCertificate action retrieves the certificate in\n\t\t\tthe PEM format. You can use the following OpenSSL command to list the certificate in\n\t\t\ttext format and copy the hexadecimal serial number.

\n\t\t

\n openssl x509 -in file_path -text -noout\n

\n\t\t

You can also copy the serial number from the console or use the DescribeCertificate action in the AWS Certificate Manager API\n\t\t\t\tReference.

", "smithy.api#required": {} } }, "RevocationReason": { "target": "com.amazonaws.acmpca#RevocationReason", "traits": { "smithy.api#documentation": "

Specifies why you revoked the certificate.

", "smithy.api#required": {} } } } }, "com.amazonaws.acmpca#S3BucketName": { "type": "string", "traits": { "smithy.api#length": { "min": 3, "max": 63 } } }, "com.amazonaws.acmpca#S3Key": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 1024 } } }, "com.amazonaws.acmpca#SigningAlgorithm": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "SHA256WITHECDSA", "name": "SHA256WITHECDSA" }, { "value": "SHA384WITHECDSA", "name": "SHA384WITHECDSA" }, { "value": "SHA512WITHECDSA", "name": "SHA512WITHECDSA" }, { "value": "SHA256WITHRSA", "name": "SHA256WITHRSA" }, { "value": "SHA384WITHRSA", "name": "SHA384WITHRSA" }, { "value": "SHA512WITHRSA", "name": "SHA512WITHRSA" } ] } }, "com.amazonaws.acmpca#String": { "type": "string" }, "com.amazonaws.acmpca#String128": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 128 } } }, "com.amazonaws.acmpca#String16": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 16 } } }, "com.amazonaws.acmpca#String253": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 253 } } }, "com.amazonaws.acmpca#String256": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 256 } } }, "com.amazonaws.acmpca#String3": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 3 } } }, "com.amazonaws.acmpca#String39": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 39 } } }, "com.amazonaws.acmpca#String3To255": { "type": "string", "traits": { "smithy.api#length": { "min": 3, "max": 255 } } }, "com.amazonaws.acmpca#String40": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 40 } } }, "com.amazonaws.acmpca#String5": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 5 } } }, "com.amazonaws.acmpca#String64": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 64 } } }, "com.amazonaws.acmpca#TStamp": { "type": "timestamp" }, "com.amazonaws.acmpca#Tag": { "type": "structure", "members": { "Key": { "target": "com.amazonaws.acmpca#TagKey", "traits": { "smithy.api#documentation": "

Key (name) of the tag.

", "smithy.api#required": {} } }, "Value": { "target": "com.amazonaws.acmpca#TagValue", "traits": { "smithy.api#documentation": "

Value of the tag.

" } } }, "traits": { "smithy.api#documentation": "

Tags are labels that you can use to identify and organize your private CAs. Each tag\n\t\t\tconsists of a key and an optional value. You can associate up to 50 tags with a private\n\t\t\tCA. To add one or more tags to a private CA, call the TagCertificateAuthority\n\t\t\taction. To remove a tag, call the UntagCertificateAuthority action.

" } }, "com.amazonaws.acmpca#TagCertificateAuthority": { "type": "operation", "input": { "target": "com.amazonaws.acmpca#TagCertificateAuthorityRequest" }, "errors": [ { "target": "com.amazonaws.acmpca#InvalidArnException" }, { "target": "com.amazonaws.acmpca#InvalidStateException" }, { "target": "com.amazonaws.acmpca#InvalidTagException" }, { "target": "com.amazonaws.acmpca#ResourceNotFoundException" }, { "target": "com.amazonaws.acmpca#TooManyTagsException" } ], "traits": { "smithy.api#documentation": "

Adds one or more tags to your private CA. Tags are labels that you can use to identify\n\t\t\tand organize your AWS resources. Each tag consists of a key and an optional value. You\n\t\t\tspecify the private CA on input by its Amazon Resource Name (ARN). You specify the tag\n\t\t\tby using a key-value pair. You can apply a tag to just one private CA if you want to\n\t\t\tidentify a specific characteristic of that CA, or you can apply the same tag to multiple\n\t\t\tprivate CAs if you want to filter for a common relationship among those CAs. To remove\n\t\t\tone or more tags, use the UntagCertificateAuthority action. Call the ListTags action to see what tags are\n\t\t\tassociated with your CA.

" } }, "com.amazonaws.acmpca#TagCertificateAuthorityRequest": { "type": "structure", "members": { "CertificateAuthorityArn": { "target": "com.amazonaws.acmpca#Arn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) that was returned when you called CreateCertificateAuthority. This must be of the form:

\n\t\t

\n\t\t\t arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012\n \n\t\t

", "smithy.api#required": {} } }, "Tags": { "target": "com.amazonaws.acmpca#TagList", "traits": { "smithy.api#documentation": "

List of tags to be associated with the CA.

", "smithy.api#required": {} } } } }, "com.amazonaws.acmpca#TagKey": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 128 }, "smithy.api#pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" } }, "com.amazonaws.acmpca#TagList": { "type": "list", "member": { "target": "com.amazonaws.acmpca#Tag" }, "traits": { "smithy.api#length": { "min": 1, "max": 50 } } }, "com.amazonaws.acmpca#TagValue": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 256 }, "smithy.api#pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" } }, "com.amazonaws.acmpca#TooManyTagsException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.acmpca#String" } }, "traits": { "smithy.api#documentation": "

You can associate up to 50 tags with a private CA. Exception information is contained\n\t\t\tin the exception message field.

", "smithy.api#error": "client" } }, "com.amazonaws.acmpca#UntagCertificateAuthority": { "type": "operation", "input": { "target": "com.amazonaws.acmpca#UntagCertificateAuthorityRequest" }, "errors": [ { "target": "com.amazonaws.acmpca#InvalidArnException" }, { "target": "com.amazonaws.acmpca#InvalidStateException" }, { "target": "com.amazonaws.acmpca#InvalidTagException" }, { "target": "com.amazonaws.acmpca#ResourceNotFoundException" } ], "traits": { "smithy.api#documentation": "

Remove one or more tags from your private CA. A tag consists of a key-value pair. If\n\t\t\tyou do not specify the value portion of the tag when calling this action, the tag will\n\t\t\tbe removed regardless of value. If you specify a value, the tag is removed only if it is\n\t\t\tassociated with the specified value. To add tags to a private CA, use the TagCertificateAuthority. Call the ListTags action to see what tags are\n\t\t\tassociated with your CA.

" } }, "com.amazonaws.acmpca#UntagCertificateAuthorityRequest": { "type": "structure", "members": { "CertificateAuthorityArn": { "target": "com.amazonaws.acmpca#Arn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) that was returned when you called CreateCertificateAuthority. This must be of the form:

\n\t\t

\n\t\t\t arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012\n \n\t\t

", "smithy.api#required": {} } }, "Tags": { "target": "com.amazonaws.acmpca#TagList", "traits": { "smithy.api#documentation": "

List of tags to be removed from the CA.

", "smithy.api#required": {} } } } }, "com.amazonaws.acmpca#UpdateCertificateAuthority": { "type": "operation", "input": { "target": "com.amazonaws.acmpca#UpdateCertificateAuthorityRequest" }, "errors": [ { "target": "com.amazonaws.acmpca#ConcurrentModificationException" }, { "target": "com.amazonaws.acmpca#InvalidArgsException" }, { "target": "com.amazonaws.acmpca#InvalidArnException" }, { "target": "com.amazonaws.acmpca#InvalidPolicyException" }, { "target": "com.amazonaws.acmpca#InvalidStateException" }, { "target": "com.amazonaws.acmpca#ResourceNotFoundException" } ], "traits": { "smithy.api#documentation": "

Updates the status or configuration of a private certificate authority (CA). Your\n\t\t\tprivate CA must be in the ACTIVE or DISABLED state before you\n\t\t\tcan update it. You can disable a private CA that is in the ACTIVE state or\n\t\t\tmake a CA that is in the DISABLED state active again.

\n \n

Both PCA and the IAM principal must have permission to write to\n the S3 bucket that you specify. If the IAM principal making the call\n does not have permission to write to the bucket, then an exception is\n thrown. For more information, see Configure\n Access to ACM Private CA.

\n
" } }, "com.amazonaws.acmpca#UpdateCertificateAuthorityRequest": { "type": "structure", "members": { "CertificateAuthorityArn": { "target": "com.amazonaws.acmpca#Arn", "traits": { "smithy.api#documentation": "

Amazon Resource Name (ARN) of the private CA that issued the certificate to be\n\t\t\trevoked. This must be of the form:

\n\t\t

\n\t\t\t arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012\n \n\t\t

", "smithy.api#required": {} } }, "RevocationConfiguration": { "target": "com.amazonaws.acmpca#RevocationConfiguration", "traits": { "smithy.api#documentation": "

Revocation information for your private CA.

" } }, "Status": { "target": "com.amazonaws.acmpca#CertificateAuthorityStatus", "traits": { "smithy.api#documentation": "

Status of your private CA.

" } } } }, "com.amazonaws.acmpca#Validity": { "type": "structure", "members": { "Value": { "target": "com.amazonaws.acmpca#PositiveLong", "traits": { "smithy.api#box": {}, "smithy.api#documentation": "

A long integer interpreted according to the value of Type, below.

", "smithy.api#required": {} } }, "Type": { "target": "com.amazonaws.acmpca#ValidityPeriodType", "traits": { "smithy.api#documentation": "

Determines how ACM Private CA interprets the Value\n\t\t\tparameter, an integer. Supported validity types include those listed below. Type\n\t\t\tdefinitions with values include a sample input value and the resulting output.

\n\t\t

\n END_DATE: The specific date and time when the certificate will expire,\n\t\t\texpressed using UTCTime (YYMMDDHHMMSS) or GeneralizedTime (YYYYMMDDHHMMSS) format. When\n\t\t\tUTCTime is used, if the year field (YY) is greater than or equal to 50, the year is\n\t\t\tinterpreted as 19YY. If the year field is less than 50, the year is interpreted as\n\t\t\t20YY.

\n\t\t \n\t\t

\n ABSOLUTE: The specific date and time when the validity of a certificate\n\t\t\twill start or expire, expressed in seconds since the Unix Epoch.

\n\t\t \n\t\t

\n DAYS, MONTHS, YEARS: The relative time from the\n\t\t\tmoment of issuance until the certificate will expire, expressed in days, months, or\n\t\t\tyears.

\n\t\t

Example if DAYS, issued on 10/12/2020 at 12:34:54 UTC:

\n\t\t \n\t\t

The minimum validity duration for a certificate using relative time\n\t\t\t(DAYS) is one day. The minimum validity for a certificate using absolute\n\t\t\ttime (ABSOLUTE or END_DATE) is one second.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Validity specifies the period of time during which a certificate is valid. Validity\n\t\t\tcan be expressed as an explicit date and time when the validity of a certificate starts\n\t\t\tor expires, or as a span of time after issuance, stated in days, months, or years. For\n\t\t\tmore information, see Validity in RFC 5280.

\n\t\t

ACM Private CA API consumes the Validity data type differently in two distinct\n\t\t\tparameters of the IssueCertificate action. The required parameter\n\t\t\t\tIssueCertificate:Validity specifies the end of a\n\t\t\tcertificate's validity period. The optional parameter\n\t\t\t\tIssueCertificate:ValidityNotBefore specifies a customized\n\t\t\tstarting time for the validity period.

" } }, "com.amazonaws.acmpca#ValidityPeriodType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "END_DATE", "name": "END_DATE" }, { "value": "ABSOLUTE", "name": "ABSOLUTE" }, { "value": "DAYS", "name": "DAYS" }, { "value": "MONTHS", "name": "MONTHS" }, { "value": "YEARS", "name": "YEARS" } ] } } } }