@aws-lite/acm-types 0.0.2 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +6 -4
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -8,6 +8,8 @@ import {
8
8
  // $IMPORTS_END
9
9
  } from "@aws-sdk/client-acm";
10
10
 
11
+ import type { AwsLiteMethodOptions } from "@aws-lite/client";
12
+
11
13
  declare interface AwsLiteACM {
12
14
  /* ! Do not remove METHODS_START / METHODS_END ! */
13
15
  // $METHODS_START
@@ -16,25 +18,25 @@ declare interface AwsLiteACM {
16
18
  * - AWS docs: {@link https://docs.aws.amazon.com/acm/latest/APIReference/API_DeleteCertificate.html ACM: DeleteCertificate}
17
19
  * - aws-lite docs: {@link https://github.com/aws-lite/aws-lite/blob/main/plugins/acm/readme.md#DeleteCertificate ACM: DeleteCertificate}
18
20
  */
19
- DeleteCertificate: (input: { CertificateArn: string }) => Promise<DeleteCertificateResponse>
21
+ DeleteCertificate: (input: AwsLiteMethodOptions & { CertificateArn: string }) => Promise<DeleteCertificateResponse>
20
22
  /**
21
23
  * @description
22
24
  * - AWS docs: {@link https://docs.aws.amazon.com/acm/latest/APIReference/API_DescribeCertificate.html ACM: DescribeCertificate}
23
25
  * - aws-lite docs: {@link https://github.com/aws-lite/aws-lite/blob/main/plugins/acm/readme.md#DescribeCertificate ACM: DescribeCertificate}
24
26
  */
25
- DescribeCertificate: (input: { CertificateArn: string }) => Promise<DescribeCertificateResponse>
27
+ DescribeCertificate: (input: AwsLiteMethodOptions & { CertificateArn: string }) => Promise<DescribeCertificateResponse>
26
28
  /**
27
29
  * @description
28
30
  * - AWS docs: {@link https://docs.aws.amazon.com/acm/latest/APIReference/API_ListCertificates.html ACM: ListCertificates}
29
31
  * - aws-lite docs: {@link https://github.com/aws-lite/aws-lite/blob/main/plugins/acm/readme.md#ListCertificates ACM: ListCertificates}
30
32
  */
31
- ListCertificates: (input: { CertificateStatuses?: any[], Includes?: Record<string, any>, MaxItems?: number, NextToken?: string, SortBy?: string, SortOrder?: string, paginate?: boolean | string }) => Promise<ListCertificatesResponse>
33
+ ListCertificates: (input: AwsLiteMethodOptions & { CertificateStatuses?: any[], Includes?: Record<string, any>, MaxItems?: number, NextToken?: string, SortBy?: string, SortOrder?: string, paginate?: boolean | string }) => Promise<ListCertificatesResponse>
32
34
  /**
33
35
  * @description
34
36
  * - AWS docs: {@link https://docs.aws.amazon.com/acm/latest/APIReference/API_RequestCertificate.html ACM: RequestCertificate}
35
37
  * - aws-lite docs: {@link https://github.com/aws-lite/aws-lite/blob/main/plugins/acm/readme.md#RequestCertificate ACM: RequestCertificate}
36
38
  */
37
- RequestCertificate: (input: { DomainName: string, CertificateAuthorityArn?: string, DomainValidationOptions?: any[], IdempotencyToken?: string, KeyAlgorithm?: string, Options?: Record<string, any>, SubjectAlternativeNames?: any[], Tags?: any[], ValidationMethod?: string }) => Promise<RequestCertificateResponse>
39
+ RequestCertificate: (input: AwsLiteMethodOptions & { DomainName: string, CertificateAuthorityArn?: string, DomainValidationOptions?: any[], IdempotencyToken?: string, KeyAlgorithm?: string, Options?: Record<string, any>, SubjectAlternativeNames?: any[], Tags?: any[], ValidationMethod?: string }) => Promise<RequestCertificateResponse>
38
40
  // $METHODS_END
39
41
  }
40
42
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-lite/acm-types",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "description": "Type definitions for the `@aws-lite/acm` plugin",
5
5
  "homepage": "https://aws-lite.org/services/acm",
6
6
  "repository": {