@aws-lite/organizations-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.
- package/index.d.ts +3 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -5,6 +5,8 @@ import {
|
|
|
5
5
|
// $IMPORTS_END
|
|
6
6
|
} from "@aws-sdk/client-organizations";
|
|
7
7
|
|
|
8
|
+
import type { AwsLiteMethodOptions } from "@aws-lite/client";
|
|
9
|
+
|
|
8
10
|
declare interface AwsLiteOrganizations {
|
|
9
11
|
/* ! Do not remove METHODS_START / METHODS_END ! */
|
|
10
12
|
// $METHODS_START
|
|
@@ -13,7 +15,7 @@ declare interface AwsLiteOrganizations {
|
|
|
13
15
|
* - AWS docs: {@link https://docs.aws.amazon.com/organizations/latest/APIReference/API_ListAccounts.html Organizations: ListAccounts}
|
|
14
16
|
* - aws-lite docs: {@link https://github.com/aws-lite/aws-lite/blob/main/plugins/organizations/readme.md#ListAccounts Organizations: ListAccounts}
|
|
15
17
|
*/
|
|
16
|
-
ListAccounts: (input: { MaxResults?: number, NextToken?: string, paginate?: boolean | string }) => Promise<ListAccountsResponse>
|
|
18
|
+
ListAccounts: (input: AwsLiteMethodOptions & { MaxResults?: number, NextToken?: string, paginate?: boolean | string }) => Promise<ListAccountsResponse>
|
|
17
19
|
// $METHODS_END
|
|
18
20
|
}
|
|
19
21
|
|
package/package.json
CHANGED