Skip to content

Commit 6e751c0

Browse files
author
AWS CI
committed
aws-sdk-swift release build artifacts
1 parent e58e8ad commit 6e751c0

File tree

1,336 files changed

+4238949
-88
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,336 files changed

+4238949
-88
lines changed

Package.swift

+541-88
Large diffs are not rendered by default.

release/ACM/AcmClient+Async.swift

+396
Large diffs are not rendered by default.

release/ACM/AcmClient.swift

+791
Large diffs are not rendered by default.

release/ACM/AcmClientProtocol.swift

+186
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,186 @@
1+
// Code generated by smithy-swift-codegen. DO NOT EDIT!
2+
3+
import ClientRuntime
4+
5+
/// <fullname>AWS Certificate Manager</fullname>
6+
/// <p>You can use AWS Certificate Manager (ACM) to manage SSL/TLS certificates for your AWS-based websites
7+
/// and applications. For more information about using ACM, see the <a href="https://docs.aws.amazon.com/acm/latest/userguide/">AWS Certificate Manager User Guide</a>.</p>
8+
public protocol AcmClientProtocol {
9+
/// <p>Adds one or more tags to an ACM certificate. Tags are labels that you can use to
10+
/// identify and organize your AWS resources. Each tag consists of a <code>key</code> and an
11+
/// optional <code>value</code>. You specify the certificate on input by its Amazon Resource Name
12+
/// (ARN). You specify the tag by using a key-value pair. </p>
13+
///
14+
/// <p>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</a>. </p>
22+
///
23+
/// <p>To remove one or more tags, use the <a>RemoveTagsFromCertificate</a> action. To
24+
/// view all of the tags that have been applied to the certificate, use the <a>ListTagsForCertificate</a> action. </p>
25+
func addTagsToCertificate(input: AddTagsToCertificateInput, completion: @escaping (SdkResult<AddTagsToCertificateOutputResponse, AddTagsToCertificateOutputError>) -> Void)
26+
/// <p>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 <a>ListCertificates</a> action or be retrieved by calling the <a>GetCertificate</a> action. The certificate will not be available for use by AWS
28+
/// services integrated with ACM. </p>
29+
/// <note>
30+
/// <p>You cannot delete an ACM certificate that is being used by another AWS service. To
31+
/// delete a certificate that is in use, the certificate association must first be
32+
/// removed.</p>
33+
/// </note>
34+
func deleteCertificate(input: DeleteCertificateInput, completion: @escaping (SdkResult<DeleteCertificateOutputResponse, DeleteCertificateOutputError>) -> Void)
35+
/// <p>Returns detailed metadata about the specified ACM certificate.</p>
36+
func describeCertificate(input: DescribeCertificateInput, completion: @escaping (SdkResult<DescribeCertificateOutputResponse, DescribeCertificateOutputError>) -> Void)
37+
/// <p>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. </p>
41+
/// <p>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</a>.</p>
44+
func exportCertificate(input: ExportCertificateInput, completion: @escaping (SdkResult<ExportCertificateOutputResponse, ExportCertificateOutputError>) -> Void)
45+
/// <p>Returns the account
46+
/// configuration options associated with an AWS account.</p>
47+
func getAccountConfiguration(input: GetAccountConfigurationInput, completion: @escaping (SdkResult<GetAccountConfigurationOutputResponse, GetAccountConfigurationOutputError>) -> Void)
48+
/// <p>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</a> to decode
51+
/// the certificates and inspect individual fields.</p>
52+
func getCertificate(input: GetCertificateInput, completion: @escaping (SdkResult<GetCertificateOutputResponse, GetCertificateOutputError>) -> Void)
53+
/// <p>Imports a certificate into AWS 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</a> 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</a> in the <i>AWS Certificate Manager User Guide</i>. </p>
60+
///
61+
/// <note>
62+
/// <p>ACM does not provide <a href="https://docs.aws.amazon.com/acm/latest/userguide/acm-renewal.html">managed renewal</a> for certificates that you import.</p>
63+
/// </note>
64+
///
65+
/// <p>Note the following guidelines when importing third party certificates:</p>
66+
///
67+
///
68+
/// <ul>
69+
/// <li>
70+
/// <p>You must enter the private key that matches the certificate you are importing.</p>
71+
/// </li>
72+
/// <li>
73+
/// <p>The private key must be unencrypted. You cannot import a private key that is protected
74+
/// by a password or a passphrase.</p>
75+
/// </li>
76+
/// <li>
77+
/// <p>The private key must be no larger than 5 KB (5,120 bytes).</p>
78+
/// </li>
79+
/// <li>
80+
/// <p>If the certificate you are importing is not self-signed, you must enter its
81+
/// certificate chain.</p>
82+
/// </li>
83+
/// <li>
84+
/// <p>If a certificate chain is included, the issuer must be the subject of one of the
85+
/// certificates in the chain.</p>
86+
/// </li>
87+
/// <li>
88+
/// <p>The certificate, private key, and certificate chain must be PEM-encoded.</p>
89+
/// </li>
90+
/// <li>
91+
/// <p>The current time must be between the <code>Not Before</code> and <code>Not
92+
/// After</code> certificate fields.</p>
93+
/// </li>
94+
/// <li>
95+
/// <p>The <code>Issuer</code> field must not be empty.</p>
96+
/// </li>
97+
/// <li>
98+
/// <p>The OCSP authority URL, if present, must not exceed 1000 characters.</p>
99+
/// </li>
100+
/// <li>
101+
/// <p>To import a new certificate, omit the <code>CertificateArn</code> argument. Include
102+
/// this argument only when you want to replace a previously imported certificate.</p>
103+
/// </li>
104+
/// <li>
105+
/// <p>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+
/// <code>fileb://</code>. For example, you can specify a certificate saved in the
108+
/// <code>C:\temp</code> folder as <code>fileb://C:\temp\certificate_to_import.pem</code>.
109+
/// If you are making an HTTP or HTTPS Query request, include these arguments as BLOBs.
110+
/// </p>
111+
/// </li>
112+
/// <li>
113+
/// <p>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. </p>
116+
/// </li>
117+
/// <li>
118+
/// <p>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.</p>
121+
/// </li>
122+
/// </ul>
123+
///
124+
/// <p>This operation returns the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
125+
/// Resource Name (ARN)</a> of the imported certificate.</p>
126+
func importCertificate(input: ImportCertificateInput, completion: @escaping (SdkResult<ImportCertificateOutputResponse, ImportCertificateOutputError>) -> Void)
127+
/// <p>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 <code>RSA_2048</code>
130+
/// certificates. For more information, see <a>Filters</a>.</p>
131+
func listCertificates(input: ListCertificatesInput, completion: @escaping (SdkResult<ListCertificatesOutputResponse, ListCertificatesOutputError>) -> Void)
132+
/// <p>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 <a>AddTagsToCertificate</a> action. To delete a tag, use the <a>RemoveTagsFromCertificate</a> action. </p>
135+
func listTagsForCertificate(input: ListTagsForCertificateInput, completion: @escaping (SdkResult<ListTagsForCertificateOutputResponse, ListTagsForCertificateOutputError>) -> Void)
136+
/// <p>Adds or modifies
137+
/// account-level configurations in ACM.
138+
/// </p>
139+
/// <p>The
140+
/// supported configuration option is <code>DaysBeforeExpiry</code>. This option specifies the
141+
/// number of days prior to certificate expiration when ACM starts generating
142+
/// <code>EventBridge</code> 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.</p>
145+
func putAccountConfiguration(input: PutAccountConfigurationInput, completion: @escaping (SdkResult<PutAccountConfigurationOutputResponse, PutAccountConfigurationOutputError>) -> Void)
146+
/// <p>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. </p>
150+
///
151+
/// <p>To add tags to a certificate, use the <a>AddTagsToCertificate</a> action. To
152+
/// view all of the tags that have been applied to a specific ACM certificate, use the <a>ListTagsForCertificate</a> action. </p>
153+
func removeTagsFromCertificate(input: RemoveTagsFromCertificateInput, completion: @escaping (SdkResult<RemoveTagsFromCertificateOutputResponse, RemoveTagsFromCertificateOutputError>) -> Void)
154+
/// <p>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</a>. For more information, see <a href="https://docs.aws.amazon.com/acm/latest/userguide/manual-renewal.html">Testing Managed Renewal</a>
158+
/// in the ACM User Guide.</p>
159+
func renewCertificate(input: RenewCertificateInput, completion: @escaping (SdkResult<RenewCertificateOutputResponse, RenewCertificateOutputError>) -> Void)
160+
/// <p>Requests an ACM certificate for use with other AWS services. To request an ACM
161+
/// certificate, you must specify a fully qualified domain name (FQDN) in the
162+
/// <code>DomainName</code> parameter. You can also specify additional FQDNs in the
163+
/// <code>SubjectAlternativeNames</code> parameter. </p>
164+
///
165+
/// <p>If you are requesting a private certificate, domain validation is not required. If you are
166+
/// requesting a public certificate, each domain name that you specify must be validated to verify
167+
/// 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</a> or <a href="https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-validate-email.html">email validation</a>.
168+
/// We recommend that you use DNS validation. ACM issues public certificates after receiving
169+
/// approval from the domain owner. </p>
170+
func requestCertificate(input: RequestCertificateInput, completion: @escaping (SdkResult<RequestCertificateOutputResponse, RequestCertificateOutputError>) -> Void)
171+
/// <p>Resends the email that requests domain ownership validation. The domain owner or an
172+
/// authorized representative must approve the ACM certificate before it can be issued. The
173+
/// certificate can be approved by clicking a link in the mail to navigate to the Amazon
174+
/// certificate approval website and then clicking <b>I Approve</b>.
175+
/// However, the validation email can be blocked by spam filters. Therefore, if you do not receive
176+
/// the original mail, you can request that the mail be resent within 72 hours of requesting the
177+
/// ACM certificate. If more than 72 hours have elapsed since your original request or since
178+
/// your last attempt to resend validation mail, you must request a new certificate. For more
179+
/// 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</a>. </p>
180+
func resendValidationEmail(input: ResendValidationEmailInput, completion: @escaping (SdkResult<ResendValidationEmailOutputResponse, ResendValidationEmailOutputError>) -> Void)
181+
/// <p>Updates a certificate. Currently, you can use this function to specify whether to opt in
182+
/// to or out of recording your certificate in a certificate transparency log. For more
183+
/// information, see <a href="https://docs.aws.amazon.com/acm/latest/userguide/acm-bestpractices.html#best-practices-transparency"> Opting Out of
184+
/// Certificate Transparency Logging</a>. </p>
185+
func updateCertificateOptions(input: UpdateCertificateOptionsInput, completion: @escaping (SdkResult<UpdateCertificateOptionsOutputResponse, UpdateCertificateOptionsOutputError>) -> Void)
186+
}

0 commit comments

Comments
 (0)