@aws-sdk/client-account 3.298.0 → 3.300.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-types/commands/DeleteAlternateContactCommand.d.ts +4 -0
- package/dist-types/commands/DisableRegionCommand.d.ts +4 -0
- package/dist-types/commands/EnableRegionCommand.d.ts +4 -0
- package/dist-types/commands/GetAlternateContactCommand.d.ts +4 -0
- package/dist-types/commands/GetContactInformationCommand.d.ts +3 -0
- package/dist-types/commands/GetRegionOptStatusCommand.d.ts +4 -0
- package/dist-types/commands/ListRegionsCommand.d.ts +8 -0
- package/dist-types/commands/PutAlternateContactCommand.d.ts +8 -0
- package/dist-types/commands/PutContactInformationCommand.d.ts +17 -0
- package/package.json +12 -12
|
@@ -34,6 +34,10 @@ export interface DeleteAlternateContactCommandOutput extends __MetadataBearer {
|
|
|
34
34
|
* import { AccountClient, DeleteAlternateContactCommand } from "@aws-sdk/client-account"; // ES Modules import
|
|
35
35
|
* // const { AccountClient, DeleteAlternateContactCommand } = require("@aws-sdk/client-account"); // CommonJS import
|
|
36
36
|
* const client = new AccountClient(config);
|
|
37
|
+
* const input = {
|
|
38
|
+
* AlternateContactType: "STRING_VALUE", // required
|
|
39
|
+
* AccountId: "STRING_VALUE",
|
|
40
|
+
* };
|
|
37
41
|
* const command = new DeleteAlternateContactCommand(input);
|
|
38
42
|
* const response = await client.send(command);
|
|
39
43
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DisableRegionCommandOutput extends __MetadataBearer {
|
|
|
26
26
|
* import { AccountClient, DisableRegionCommand } from "@aws-sdk/client-account"; // ES Modules import
|
|
27
27
|
* // const { AccountClient, DisableRegionCommand } = require("@aws-sdk/client-account"); // CommonJS import
|
|
28
28
|
* const client = new AccountClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* AccountId: "STRING_VALUE",
|
|
31
|
+
* RegionName: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DisableRegionCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface EnableRegionCommandOutput extends __MetadataBearer {
|
|
|
26
26
|
* import { AccountClient, EnableRegionCommand } from "@aws-sdk/client-account"; // ES Modules import
|
|
27
27
|
* // const { AccountClient, EnableRegionCommand } = require("@aws-sdk/client-account"); // CommonJS import
|
|
28
28
|
* const client = new AccountClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* AccountId: "STRING_VALUE",
|
|
31
|
+
* RegionName: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new EnableRegionCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -34,6 +34,10 @@ export interface GetAlternateContactCommandOutput extends GetAlternateContactRes
|
|
|
34
34
|
* import { AccountClient, GetAlternateContactCommand } from "@aws-sdk/client-account"; // ES Modules import
|
|
35
35
|
* // const { AccountClient, GetAlternateContactCommand } = require("@aws-sdk/client-account"); // CommonJS import
|
|
36
36
|
* const client = new AccountClient(config);
|
|
37
|
+
* const input = {
|
|
38
|
+
* AlternateContactType: "STRING_VALUE", // required
|
|
39
|
+
* AccountId: "STRING_VALUE",
|
|
40
|
+
* };
|
|
37
41
|
* const command = new GetAlternateContactCommand(input);
|
|
38
42
|
* const response = await client.send(command);
|
|
39
43
|
* ```
|
|
@@ -28,6 +28,9 @@ export interface GetContactInformationCommandOutput extends GetContactInformatio
|
|
|
28
28
|
* import { AccountClient, GetContactInformationCommand } from "@aws-sdk/client-account"; // ES Modules import
|
|
29
29
|
* // const { AccountClient, GetContactInformationCommand } = require("@aws-sdk/client-account"); // CommonJS import
|
|
30
30
|
* const client = new AccountClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* AccountId: "STRING_VALUE",
|
|
33
|
+
* };
|
|
31
34
|
* const command = new GetContactInformationCommand(input);
|
|
32
35
|
* const response = await client.send(command);
|
|
33
36
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface GetRegionOptStatusCommandOutput extends GetRegionOptStatusRespo
|
|
|
26
26
|
* import { AccountClient, GetRegionOptStatusCommand } from "@aws-sdk/client-account"; // ES Modules import
|
|
27
27
|
* // const { AccountClient, GetRegionOptStatusCommand } = require("@aws-sdk/client-account"); // CommonJS import
|
|
28
28
|
* const client = new AccountClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* AccountId: "STRING_VALUE",
|
|
31
|
+
* RegionName: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new GetRegionOptStatusCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -28,6 +28,14 @@ export interface ListRegionsCommandOutput extends ListRegionsResponse, __Metadat
|
|
|
28
28
|
* import { AccountClient, ListRegionsCommand } from "@aws-sdk/client-account"; // ES Modules import
|
|
29
29
|
* // const { AccountClient, ListRegionsCommand } = require("@aws-sdk/client-account"); // CommonJS import
|
|
30
30
|
* const client = new AccountClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* AccountId: "STRING_VALUE",
|
|
33
|
+
* MaxResults: Number("int"),
|
|
34
|
+
* NextToken: "STRING_VALUE",
|
|
35
|
+
* RegionOptStatusContains: [
|
|
36
|
+
* "STRING_VALUE",
|
|
37
|
+
* ],
|
|
38
|
+
* };
|
|
31
39
|
* const command = new ListRegionsCommand(input);
|
|
32
40
|
* const response = await client.send(command);
|
|
33
41
|
* ```
|
|
@@ -34,6 +34,14 @@ export interface PutAlternateContactCommandOutput extends __MetadataBearer {
|
|
|
34
34
|
* import { AccountClient, PutAlternateContactCommand } from "@aws-sdk/client-account"; // ES Modules import
|
|
35
35
|
* // const { AccountClient, PutAlternateContactCommand } = require("@aws-sdk/client-account"); // CommonJS import
|
|
36
36
|
* const client = new AccountClient(config);
|
|
37
|
+
* const input = {
|
|
38
|
+
* Name: "STRING_VALUE", // required
|
|
39
|
+
* Title: "STRING_VALUE", // required
|
|
40
|
+
* EmailAddress: "STRING_VALUE", // required
|
|
41
|
+
* PhoneNumber: "STRING_VALUE", // required
|
|
42
|
+
* AlternateContactType: "STRING_VALUE", // required
|
|
43
|
+
* AccountId: "STRING_VALUE",
|
|
44
|
+
* };
|
|
37
45
|
* const command = new PutAlternateContactCommand(input);
|
|
38
46
|
* const response = await client.send(command);
|
|
39
47
|
* ```
|
|
@@ -28,6 +28,23 @@ export interface PutContactInformationCommandOutput extends __MetadataBearer {
|
|
|
28
28
|
* import { AccountClient, PutContactInformationCommand } from "@aws-sdk/client-account"; // ES Modules import
|
|
29
29
|
* // const { AccountClient, PutContactInformationCommand } = require("@aws-sdk/client-account"); // CommonJS import
|
|
30
30
|
* const client = new AccountClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* ContactInformation: {
|
|
33
|
+
* FullName: "STRING_VALUE", // required
|
|
34
|
+
* AddressLine1: "STRING_VALUE", // required
|
|
35
|
+
* AddressLine2: "STRING_VALUE",
|
|
36
|
+
* AddressLine3: "STRING_VALUE",
|
|
37
|
+
* City: "STRING_VALUE", // required
|
|
38
|
+
* StateOrRegion: "STRING_VALUE",
|
|
39
|
+
* DistrictOrCounty: "STRING_VALUE",
|
|
40
|
+
* PostalCode: "STRING_VALUE", // required
|
|
41
|
+
* CountryCode: "STRING_VALUE", // required
|
|
42
|
+
* PhoneNumber: "STRING_VALUE", // required
|
|
43
|
+
* CompanyName: "STRING_VALUE",
|
|
44
|
+
* WebsiteUrl: "STRING_VALUE",
|
|
45
|
+
* },
|
|
46
|
+
* AccountId: "STRING_VALUE",
|
|
47
|
+
* };
|
|
31
48
|
* const command = new PutContactInformationCommand(input);
|
|
32
49
|
* const response = await client.send(command);
|
|
33
50
|
* ```
|
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.300.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,23 +21,23 @@
|
|
|
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.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.300.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.300.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
30
30
|
"@aws-sdk/middleware-content-length": "3.296.0",
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.299.0",
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|