Skip to content

Commit 8159cb6

Browse files
author
AWS CI
committed
aws-sdk-swift release build artifacts
1 parent 192d7c5 commit 8159cb6

File tree

1,411 files changed

+4856883
-94
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,411 files changed

+4856883
-94
lines changed

Package.swift

+571-94
Large diffs are not rendered by default.

release/AWSACM/AcmClient+Async.swift

+401
Large diffs are not rendered by default.

release/AWSACM/AcmClient.swift

+771
Large diffs are not rendered by default.
+193
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,193 @@
1+
// Code generated by smithy-swift-codegen. DO NOT EDIT!
2+
3+
import ClientRuntime
4+
5+
/// <fullname>Amazon Web Services Certificate Manager</fullname>
6+
/// You can use Amazon Web Services Certificate Manager (ACM) to manage SSL/TLS certificates for your Amazon Web Services-based websites
7+
/// and applications. For more information about using ACM, see the <a href="https://docs.aws.amazon.com/acm/latest/userguide/">Amazon Web Services Certificate Manager User Guide.
8+
public protocol AcmClientProtocol {
9+
/// Adds one or more tags to an ACM certificate. Tags are labels that you can use to
10+
/// identify and organize your Amazon Web Services resources. Each tag consists of a key and an
11+
/// optional value. You specify the certificate on input by its Amazon Resource Name
12+
/// (ARN). You specify the tag by using a key-value pair.
13+
///
14+
/// You can apply a tag to just one certificate if you want to identify a specific
15+
/// characteristic of that certificate, or you can apply the same tag to multiple certificates if
16+
/// you want to filter for a common relationship among those certificates. Similarly, you can
17+
/// apply the same tag to multiple resources if you want to specify a relationship among those
18+
/// resources. For example, you can add the same tag to an ACM certificate and an Elastic Load
19+
/// Balancing load balancer to indicate that they are both used by the same website. For more
20+
/// information, see <a href="https://docs.aws.amazon.com/acm/latest/userguide/tags.html">Tagging ACM
21+
/// certificates.
22+
///
23+
/// To remove one or more tags, use the RemoveTagsFromCertificate action. To
24+
/// view all of the tags that have been applied to the certificate, use the ListTagsForCertificate action.
25+
func addTagsToCertificate(input: AddTagsToCertificateInput, completion: @escaping (ClientRuntime.SdkResult<AddTagsToCertificateOutputResponse, AddTagsToCertificateOutputError>) -> Void)
26+
/// Deletes a certificate and its associated private key. If this action succeeds, the
27+
/// certificate no longer appears in the list that can be displayed by calling the ListCertificates action or be retrieved by calling the GetCertificate action. The certificate will not be available for use by Amazon Web Services
28+
/// services integrated with ACM.
29+
///
30+
/// You cannot delete an ACM certificate that is being used by another Amazon Web Services service. To
31+
/// delete a certificate that is in use, the certificate association must first be
32+
/// removed.
33+
///
34+
func deleteCertificate(input: DeleteCertificateInput, completion: @escaping (ClientRuntime.SdkResult<DeleteCertificateOutputResponse, DeleteCertificateOutputError>) -> Void)
35+
/// Returns detailed metadata about the specified ACM certificate.
36+
func describeCertificate(input: DescribeCertificateInput, completion: @escaping (ClientRuntime.SdkResult<DescribeCertificateOutputResponse, DescribeCertificateOutputError>) -> Void)
37+
/// Exports a private certificate issued by a private certificate authority (CA) for use
38+
/// anywhere. The exported file contains the certificate, the certificate chain, and the encrypted
39+
/// private 2048-bit RSA key associated with the public key that is embedded in the certificate.
40+
/// For security, you must assign a passphrase for the private key when exporting it.
41+
/// For information about exporting and formatting a certificate using the ACM console or
42+
/// CLI, see <a href="https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-export-private.html">Export a
43+
/// Private Certificate.
44+
func exportCertificate(input: ExportCertificateInput, completion: @escaping (ClientRuntime.SdkResult<ExportCertificateOutputResponse, ExportCertificateOutputError>) -> Void)
45+
/// Returns the account
46+
/// configuration options associated with an Amazon Web Services account.
47+
func getAccountConfiguration(input: GetAccountConfigurationInput, completion: @escaping (ClientRuntime.SdkResult<GetAccountConfigurationOutputResponse, GetAccountConfigurationOutputError>) -> Void)
48+
/// Retrieves an Amazon-issued certificate and its certificate chain. The chain consists of
49+
/// the certificate of the issuing CA and the intermediate certificates of any other subordinate
50+
/// CAs. All of the certificates are base64 encoded. You can use <a href="https://wiki.openssl.org/index.php/Command_Line_Utilities">OpenSSL to decode
51+
/// the certificates and inspect individual fields.
52+
func getCertificate(input: GetCertificateInput, completion: @escaping (ClientRuntime.SdkResult<GetCertificateOutputResponse, GetCertificateOutputError>) -> Void)
53+
/// Imports a certificate into Amazon Web Services Certificate Manager (ACM) to use with services that are integrated with
54+
/// ACM. Note that <a href="https://docs.aws.amazon.com/acm/latest/userguide/acm-services.html">integrated
55+
/// services allow only certificate types and keys they support to be associated with
56+
/// their resources. Further, their support differs depending on whether the certificate is
57+
/// imported into IAM or into ACM. For more information, see the documentation for each
58+
/// service. For more information about importing certificates into ACM, see <a href="https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html">Importing
59+
/// Certificates in the Amazon Web Services Certificate Manager User Guide.
60+
///
61+
///
62+
/// ACM does not provide <a href="https://docs.aws.amazon.com/acm/latest/userguide/acm-renewal.html">managed renewal for certificates that you import.
63+
///
64+
///
65+
/// Note the following guidelines when importing third party certificates:
66+
///
67+
///
68+
///
69+
///
70+
/// You must enter the private key that matches the certificate you are importing.
71+
///
72+
///
73+
/// The private key must be unencrypted. You cannot import a private key that is protected
74+
/// by a password or a passphrase.
75+
///
76+
///
77+
/// The private key must be no larger than 5 KB (5,120 bytes).
78+
///
79+
///
80+
/// If the certificate you are importing is not self-signed, you must enter its
81+
/// certificate chain.
82+
///
83+
///
84+
/// If a certificate chain is included, the issuer must be the subject of one of the
85+
/// certificates in the chain.
86+
///
87+
///
88+
/// The certificate, private key, and certificate chain must be PEM-encoded.
89+
///
90+
///
91+
/// The current time must be between the Not Before and Not
92+
/// After certificate fields.
93+
///
94+
///
95+
/// The Issuer field must not be empty.
96+
///
97+
///
98+
/// The OCSP authority URL, if present, must not exceed 1000 characters.
99+
///
100+
///
101+
/// To import a new certificate, omit the CertificateArn argument. Include
102+
/// this argument only when you want to replace a previously imported certificate.
103+
///
104+
///
105+
/// When you import a certificate by using the CLI, you must specify the certificate, the
106+
/// certificate chain, and the private key by their file names preceded by
107+
/// fileb://. For example, you can specify a certificate saved in the
108+
/// C:\temp folder as fileb://C:\temp\certificate_to_import.pem.
109+
/// If you are making an HTTP or HTTPS Query request, include these arguments as BLOBs.
110+
///
111+
///
112+
///
113+
/// When you import a certificate by using an SDK, you must specify the certificate, the
114+
/// certificate chain, and the private key files in the manner required by the programming
115+
/// language you're using.
116+
///
117+
///
118+
/// The cryptographic algorithm of an imported certificate must match the algorithm of the
119+
/// signing CA. For example, if the signing CA key type is RSA, then the certificate key type
120+
/// must also be RSA.
121+
///
122+
///
123+
///
124+
/// This operation returns the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
125+
/// Resource Name (ARN) of the imported certificate.
126+
func importCertificate(input: ImportCertificateInput, completion: @escaping (ClientRuntime.SdkResult<ImportCertificateOutputResponse, ImportCertificateOutputError>) -> Void)
127+
/// Retrieves a list of certificate ARNs and domain names. You can request that only
128+
/// certificates that match a specific status be listed. You can also filter by specific
129+
/// attributes of the certificate. Default filtering returns only RSA_2048
130+
/// certificates. For more information, see Filters.
131+
func listCertificates(input: ListCertificatesInput, completion: @escaping (ClientRuntime.SdkResult<ListCertificatesOutputResponse, ListCertificatesOutputError>) -> Void)
132+
/// Lists the tags that have been applied to the ACM certificate. Use the certificate's
133+
/// Amazon Resource Name (ARN) to specify the certificate. To add a tag to an ACM certificate,
134+
/// use the AddTagsToCertificate action. To delete a tag, use the RemoveTagsFromCertificate action.
135+
func listTagsForCertificate(input: ListTagsForCertificateInput, completion: @escaping (ClientRuntime.SdkResult<ListTagsForCertificateOutputResponse, ListTagsForCertificateOutputError>) -> Void)
136+
/// Adds or modifies
137+
/// account-level configurations in ACM.
138+
///
139+
/// The
140+
/// supported configuration option is DaysBeforeExpiry. This option specifies the
141+
/// number of days prior to certificate expiration when ACM starts generating
142+
/// EventBridge events. ACM sends one event per day per certificate until the
143+
/// certificate expires. By default, accounts receive events starting 45 days before certificate
144+
/// expiration.
145+
func putAccountConfiguration(input: PutAccountConfigurationInput, completion: @escaping (ClientRuntime.SdkResult<PutAccountConfigurationOutputResponse, PutAccountConfigurationOutputError>) -> Void)
146+
/// Remove one or more tags from an ACM certificate. A tag consists of a key-value pair. If
147+
/// you do not specify the value portion of the tag when calling this function, the tag will be
148+
/// removed regardless of value. If you specify a value, the tag is removed only if it is
149+
/// associated with the specified value.
150+
///
151+
/// To add tags to a certificate, use the AddTagsToCertificate action. To
152+
/// view all of the tags that have been applied to a specific ACM certificate, use the ListTagsForCertificate action.
153+
func removeTagsFromCertificate(input: RemoveTagsFromCertificateInput, completion: @escaping (ClientRuntime.SdkResult<RemoveTagsFromCertificateOutputResponse, RemoveTagsFromCertificateOutputError>) -> Void)
154+
/// Renews an eligible ACM certificate. At this time, only exported private certificates can
155+
/// be renewed with this operation. In order to renew your ACM PCA certificates with ACM, you must
156+
/// first <a href="https://docs.aws.amazon.com/acm-pca/latest/userguide/PcaPermissions.html">grant the ACM
157+
/// service principal permission to do so. For more information, see <a href="https://docs.aws.amazon.com/acm/latest/userguide/manual-renewal.html">Testing Managed Renewal
158+
/// in the ACM User Guide.
159+
func renewCertificate(input: RenewCertificateInput, completion: @escaping (ClientRuntime.SdkResult<RenewCertificateOutputResponse, RenewCertificateOutputError>) -> Void)
160+
/// Requests an ACM certificate for use with other Amazon Web Services services. To request an ACM
161+
/// certificate, you must specify a fully qualified domain name (FQDN) in the
162+
/// DomainName parameter. You can also specify additional FQDNs in the
163+
/// SubjectAlternativeNames parameter.
164+
/// If you are requesting a private certificate, domain validation is not required. If you are
165+
/// requesting a public certificate, each domain name that you specify must be validated to verify
166+
/// that you own or control the domain. You can use <a href="https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-validate-dns.html">DNS validation or <a href="https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-validate-email.html">email validation.
167+
/// We recommend that you use DNS validation. ACM issues public certificates after receiving
168+
/// approval from the domain owner.
169+
///
170+
///
171+
/// ACM behavior differs from the <a href="https://tools.ietf.org/html/rfc6125#appendix-B.2">https://tools.ietf.org/html/rfc6125#appendix-B.2RFC 6125 specification of the
172+
/// certificate validation process. first checks for a subject alternative name, and, if it
173+
/// finds one, ignores the common name (CN)
174+
///
175+
func requestCertificate(input: RequestCertificateInput, completion: @escaping (ClientRuntime.SdkResult<RequestCertificateOutputResponse, RequestCertificateOutputError>) -> Void)
176+
/// Resends the email that requests domain ownership validation. The domain owner or an
177+
/// authorized representative must approve the ACM certificate before it can be issued. The
178+
/// certificate can be approved by clicking a link in the mail to navigate to the Amazon
179+
/// certificate approval website and then clicking I Approve.
180+
/// However, the validation email can be blocked by spam filters. Therefore, if you do not receive
181+
/// the original mail, you can request that the mail be resent within 72 hours of requesting the
182+
/// ACM certificate. If more than 72 hours have elapsed since your original request or since
183+
/// your last attempt to resend validation mail, you must request a new certificate. For more
184+
/// information about setting up your contact email addresses, see <a href="https://docs.aws.amazon.com/acm/latest/userguide/setup-email.html">Configure Email for your Domain.
185+
func resendValidationEmail(input: ResendValidationEmailInput, completion: @escaping (ClientRuntime.SdkResult<ResendValidationEmailOutputResponse, ResendValidationEmailOutputError>) -> Void)
186+
/// Updates a certificate. Currently, you can use this function to specify whether to opt in
187+
/// to or out of recording your certificate in a certificate transparency log. For more
188+
/// information, see <a href="https://docs.aws.amazon.com/acm/latest/userguide/acm-bestpractices.html#best-practices-transparency"> Opting Out of
189+
/// Certificate Transparency Logging.
190+
func updateCertificateOptions(input: UpdateCertificateOptionsInput, completion: @escaping (ClientRuntime.SdkResult<UpdateCertificateOptionsOutputResponse, UpdateCertificateOptionsOutputError>) -> Void)
191+
}
192+
193+
public enum AcmClientTypes {}

0 commit comments

Comments
 (0)