@aws-sdk/client-account 3.312.0 → 3.316.0
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/dist-cjs/Account.js +13 -126
- package/dist-cjs/protocols/Aws_restJson1.js +110 -203
- package/dist-es/Account.js +13 -126
- package/dist-es/protocols/Aws_restJson1.js +96 -189
- package/dist-types/Account.d.ts +16 -53
- package/dist-types/ts3.4/Account.d.ts +2 -1
- package/package.json +6 -6
package/dist-types/Account.d.ts
CHANGED
|
@@ -9,102 +9,65 @@ import { GetRegionOptStatusCommandInput, GetRegionOptStatusCommandOutput } from
|
|
|
9
9
|
import { ListRegionsCommandInput, ListRegionsCommandOutput } from "./commands/ListRegionsCommand";
|
|
10
10
|
import { PutAlternateContactCommandInput, PutAlternateContactCommandOutput } from "./commands/PutAlternateContactCommand";
|
|
11
11
|
import { PutContactInformationCommandInput, PutContactInformationCommandOutput } from "./commands/PutContactInformationCommand";
|
|
12
|
-
|
|
13
|
-
* @public
|
|
14
|
-
* <p>Operations for Amazon Web Services Account Management</p>
|
|
15
|
-
*/
|
|
16
|
-
export declare class Account extends AccountClient {
|
|
12
|
+
export interface Account {
|
|
17
13
|
/**
|
|
18
|
-
* @
|
|
19
|
-
* <p>Deletes the specified alternate contact from an Amazon Web Services account.</p>
|
|
20
|
-
* <p>For complete details about how to use the alternate contact operations, see <a href="https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-update-contact.html">Access or
|
|
21
|
-
* updating the alternate contacts</a>.</p>
|
|
22
|
-
* <note>
|
|
23
|
-
* <p>Before you can update the alternate contact information for an
|
|
24
|
-
* Amazon Web Services account that is managed by Organizations, you must first enable integration between Amazon Web Services Account Management
|
|
25
|
-
* and Organizations. For more information, see <a href="https://docs.aws.amazon.com/accounts/latest/reference/using-orgs-trusted-access.html">Enabling trusted access for
|
|
26
|
-
* Amazon Web Services Account Management</a>.</p>
|
|
27
|
-
* </note>
|
|
14
|
+
* @see {@link DeleteAlternateContactCommand}
|
|
28
15
|
*/
|
|
29
16
|
deleteAlternateContact(args: DeleteAlternateContactCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAlternateContactCommandOutput>;
|
|
30
17
|
deleteAlternateContact(args: DeleteAlternateContactCommandInput, cb: (err: any, data?: DeleteAlternateContactCommandOutput) => void): void;
|
|
31
18
|
deleteAlternateContact(args: DeleteAlternateContactCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAlternateContactCommandOutput) => void): void;
|
|
32
19
|
/**
|
|
33
|
-
* @
|
|
34
|
-
* <p>Disables (opts-out) a particular Region for an account.</p>
|
|
20
|
+
* @see {@link DisableRegionCommand}
|
|
35
21
|
*/
|
|
36
22
|
disableRegion(args: DisableRegionCommandInput, options?: __HttpHandlerOptions): Promise<DisableRegionCommandOutput>;
|
|
37
23
|
disableRegion(args: DisableRegionCommandInput, cb: (err: any, data?: DisableRegionCommandOutput) => void): void;
|
|
38
24
|
disableRegion(args: DisableRegionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisableRegionCommandOutput) => void): void;
|
|
39
25
|
/**
|
|
40
|
-
* @
|
|
41
|
-
* <p>Enables (opts-in) a particular Region for an account.</p>
|
|
26
|
+
* @see {@link EnableRegionCommand}
|
|
42
27
|
*/
|
|
43
28
|
enableRegion(args: EnableRegionCommandInput, options?: __HttpHandlerOptions): Promise<EnableRegionCommandOutput>;
|
|
44
29
|
enableRegion(args: EnableRegionCommandInput, cb: (err: any, data?: EnableRegionCommandOutput) => void): void;
|
|
45
30
|
enableRegion(args: EnableRegionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableRegionCommandOutput) => void): void;
|
|
46
31
|
/**
|
|
47
|
-
* @
|
|
48
|
-
* <p>Retrieves the specified alternate contact attached to an Amazon Web Services account.</p>
|
|
49
|
-
* <p>For complete details about how to use the alternate contact operations, see <a href="https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-update-contact.html">Access or
|
|
50
|
-
* updating the alternate contacts</a>.</p>
|
|
51
|
-
* <note>
|
|
52
|
-
* <p>Before you can update the alternate contact information for an
|
|
53
|
-
* Amazon Web Services account that is managed by Organizations, you must first enable integration between Amazon Web Services Account Management
|
|
54
|
-
* and Organizations. For more information, see <a href="https://docs.aws.amazon.com/accounts/latest/reference/using-orgs-trusted-access.html">Enabling trusted access for
|
|
55
|
-
* Amazon Web Services Account Management</a>.</p>
|
|
56
|
-
* </note>
|
|
32
|
+
* @see {@link GetAlternateContactCommand}
|
|
57
33
|
*/
|
|
58
34
|
getAlternateContact(args: GetAlternateContactCommandInput, options?: __HttpHandlerOptions): Promise<GetAlternateContactCommandOutput>;
|
|
59
35
|
getAlternateContact(args: GetAlternateContactCommandInput, cb: (err: any, data?: GetAlternateContactCommandOutput) => void): void;
|
|
60
36
|
getAlternateContact(args: GetAlternateContactCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAlternateContactCommandOutput) => void): void;
|
|
61
37
|
/**
|
|
62
|
-
* @
|
|
63
|
-
* <p>Retrieves the primary contact information of an Amazon Web Services account.</p>
|
|
64
|
-
* <p>For complete details about how to use the primary contact operations, see <a href="https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-update-contact.html">Update
|
|
65
|
-
* the primary and alternate contact information</a>.</p>
|
|
38
|
+
* @see {@link GetContactInformationCommand}
|
|
66
39
|
*/
|
|
67
40
|
getContactInformation(args: GetContactInformationCommandInput, options?: __HttpHandlerOptions): Promise<GetContactInformationCommandOutput>;
|
|
68
41
|
getContactInformation(args: GetContactInformationCommandInput, cb: (err: any, data?: GetContactInformationCommandOutput) => void): void;
|
|
69
42
|
getContactInformation(args: GetContactInformationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetContactInformationCommandOutput) => void): void;
|
|
70
43
|
/**
|
|
71
|
-
* @
|
|
72
|
-
* <p>Retrieves the opt-in status of a particular Region.</p>
|
|
44
|
+
* @see {@link GetRegionOptStatusCommand}
|
|
73
45
|
*/
|
|
74
46
|
getRegionOptStatus(args: GetRegionOptStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetRegionOptStatusCommandOutput>;
|
|
75
47
|
getRegionOptStatus(args: GetRegionOptStatusCommandInput, cb: (err: any, data?: GetRegionOptStatusCommandOutput) => void): void;
|
|
76
48
|
getRegionOptStatus(args: GetRegionOptStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRegionOptStatusCommandOutput) => void): void;
|
|
77
49
|
/**
|
|
78
|
-
* @
|
|
79
|
-
* <p>Lists all the Regions for a given account and their respective opt-in statuses.
|
|
80
|
-
* Optionally, this list can be filtered by the <code>region-opt-status-contains</code>
|
|
81
|
-
* parameter. </p>
|
|
50
|
+
* @see {@link ListRegionsCommand}
|
|
82
51
|
*/
|
|
83
52
|
listRegions(args: ListRegionsCommandInput, options?: __HttpHandlerOptions): Promise<ListRegionsCommandOutput>;
|
|
84
53
|
listRegions(args: ListRegionsCommandInput, cb: (err: any, data?: ListRegionsCommandOutput) => void): void;
|
|
85
54
|
listRegions(args: ListRegionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRegionsCommandOutput) => void): void;
|
|
86
55
|
/**
|
|
87
|
-
* @
|
|
88
|
-
* <p>Modifies the specified alternate contact attached to an Amazon Web Services account.</p>
|
|
89
|
-
* <p>For complete details about how to use the alternate contact operations, see <a href="https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-update-contact.html">Access or
|
|
90
|
-
* updating the alternate contacts</a>.</p>
|
|
91
|
-
* <note>
|
|
92
|
-
* <p>Before you can update the alternate contact information for an
|
|
93
|
-
* Amazon Web Services account that is managed by Organizations, you must first enable integration between Amazon Web Services Account Management
|
|
94
|
-
* and Organizations. For more information, see <a href="https://docs.aws.amazon.com/accounts/latest/reference/using-orgs-trusted-access.html">Enabling trusted access for
|
|
95
|
-
* Amazon Web Services Account Management</a>.</p>
|
|
96
|
-
* </note>
|
|
56
|
+
* @see {@link PutAlternateContactCommand}
|
|
97
57
|
*/
|
|
98
58
|
putAlternateContact(args: PutAlternateContactCommandInput, options?: __HttpHandlerOptions): Promise<PutAlternateContactCommandOutput>;
|
|
99
59
|
putAlternateContact(args: PutAlternateContactCommandInput, cb: (err: any, data?: PutAlternateContactCommandOutput) => void): void;
|
|
100
60
|
putAlternateContact(args: PutAlternateContactCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutAlternateContactCommandOutput) => void): void;
|
|
101
61
|
/**
|
|
102
|
-
* @
|
|
103
|
-
* <p>Updates the primary contact information of an Amazon Web Services account.</p>
|
|
104
|
-
* <p>For complete details about how to use the primary contact operations, see <a href="https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-update-contact.html">Update
|
|
105
|
-
* the primary and alternate contact information</a>.</p>
|
|
62
|
+
* @see {@link PutContactInformationCommand}
|
|
106
63
|
*/
|
|
107
64
|
putContactInformation(args: PutContactInformationCommandInput, options?: __HttpHandlerOptions): Promise<PutContactInformationCommandOutput>;
|
|
108
65
|
putContactInformation(args: PutContactInformationCommandInput, cb: (err: any, data?: PutContactInformationCommandOutput) => void): void;
|
|
109
66
|
putContactInformation(args: PutContactInformationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutContactInformationCommandOutput) => void): void;
|
|
110
67
|
}
|
|
68
|
+
/**
|
|
69
|
+
* @public
|
|
70
|
+
* <p>Operations for Amazon Web Services Account Management</p>
|
|
71
|
+
*/
|
|
72
|
+
export declare class Account extends AccountClient implements Account {
|
|
73
|
+
}
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
PutContactInformationCommandInput,
|
|
37
37
|
PutContactInformationCommandOutput,
|
|
38
38
|
} from "./commands/PutContactInformationCommand";
|
|
39
|
-
export
|
|
39
|
+
export interface Account {
|
|
40
40
|
deleteAlternateContact(
|
|
41
41
|
args: DeleteAlternateContactCommandInput,
|
|
42
42
|
options?: __HttpHandlerOptions
|
|
@@ -155,3 +155,4 @@ export declare class Account extends AccountClient {
|
|
|
155
155
|
cb: (err: any, data?: PutContactInformationCommandOutput) => void
|
|
156
156
|
): void;
|
|
157
157
|
}
|
|
158
|
+
export declare class Account extends AccountClient implements Account {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-account",
|
|
3
3
|
"description": "AWS SDK for JavaScript Account Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.316.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.316.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.316.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -40,14 +40,14 @@
|
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.310.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.316.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.310.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|