@aws-sdk/client-account 3.321.1 → 3.326.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.
@@ -40,6 +40,8 @@ export interface DeleteAlternateContactCommandOutput extends __MetadataBearer {
40
40
  * };
41
41
  * const command = new DeleteAlternateContactCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // {};
44
+ *
43
45
  * ```
44
46
  *
45
47
  * @param DeleteAlternateContactCommandInput - {@link DeleteAlternateContactCommandInput}
@@ -66,6 +68,8 @@ export interface DeleteAlternateContactCommandOutput extends __MetadataBearer {
66
68
  * @throws {@link ValidationException} (client fault)
67
69
  * <p>The operation failed because one of the input parameters was invalid.</p>
68
70
  *
71
+ * @throws {@link AccountServiceException}
72
+ * <p>Base exception class for all service exceptions from Account service.</p>
69
73
  *
70
74
  */
71
75
  export declare class DeleteAlternateContactCommand extends $Command<DeleteAlternateContactCommandInput, DeleteAlternateContactCommandOutput, AccountClientResolvedConfig> {
@@ -32,6 +32,8 @@ export interface DisableRegionCommandOutput extends __MetadataBearer {
32
32
  * };
33
33
  * const command = new DisableRegionCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // {};
36
+ *
35
37
  * ```
36
38
  *
37
39
  * @param DisableRegionCommandInput - {@link DisableRegionCommandInput}
@@ -60,6 +62,8 @@ export interface DisableRegionCommandOutput extends __MetadataBearer {
60
62
  * @throws {@link ValidationException} (client fault)
61
63
  * <p>The operation failed because one of the input parameters was invalid.</p>
62
64
  *
65
+ * @throws {@link AccountServiceException}
66
+ * <p>Base exception class for all service exceptions from Account service.</p>
63
67
  *
64
68
  */
65
69
  export declare class DisableRegionCommand extends $Command<DisableRegionCommandInput, DisableRegionCommandOutput, AccountClientResolvedConfig> {
@@ -32,6 +32,8 @@ export interface EnableRegionCommandOutput extends __MetadataBearer {
32
32
  * };
33
33
  * const command = new EnableRegionCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // {};
36
+ *
35
37
  * ```
36
38
  *
37
39
  * @param EnableRegionCommandInput - {@link EnableRegionCommandInput}
@@ -60,6 +62,8 @@ export interface EnableRegionCommandOutput extends __MetadataBearer {
60
62
  * @throws {@link ValidationException} (client fault)
61
63
  * <p>The operation failed because one of the input parameters was invalid.</p>
62
64
  *
65
+ * @throws {@link AccountServiceException}
66
+ * <p>Base exception class for all service exceptions from Account service.</p>
63
67
  *
64
68
  */
65
69
  export declare class EnableRegionCommand extends $Command<EnableRegionCommandInput, EnableRegionCommandOutput, AccountClientResolvedConfig> {
@@ -40,6 +40,16 @@ export interface GetAlternateContactCommandOutput extends GetAlternateContactRes
40
40
  * };
41
41
  * const command = new GetAlternateContactCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // { // GetAlternateContactResponse
44
+ * // AlternateContact: { // AlternateContact
45
+ * // Name: "STRING_VALUE",
46
+ * // Title: "STRING_VALUE",
47
+ * // EmailAddress: "STRING_VALUE",
48
+ * // PhoneNumber: "STRING_VALUE",
49
+ * // AlternateContactType: "STRING_VALUE",
50
+ * // },
51
+ * // };
52
+ *
43
53
  * ```
44
54
  *
45
55
  * @param GetAlternateContactCommandInput - {@link GetAlternateContactCommandInput}
@@ -66,6 +76,8 @@ export interface GetAlternateContactCommandOutput extends GetAlternateContactRes
66
76
  * @throws {@link ValidationException} (client fault)
67
77
  * <p>The operation failed because one of the input parameters was invalid.</p>
68
78
  *
79
+ * @throws {@link AccountServiceException}
80
+ * <p>Base exception class for all service exceptions from Account service.</p>
69
81
  *
70
82
  */
71
83
  export declare class GetAlternateContactCommand extends $Command<GetAlternateContactCommandInput, GetAlternateContactCommandOutput, AccountClientResolvedConfig> {
@@ -33,6 +33,23 @@ export interface GetContactInformationCommandOutput extends GetContactInformatio
33
33
  * };
34
34
  * const command = new GetContactInformationCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // GetContactInformationResponse
37
+ * // ContactInformation: { // ContactInformation
38
+ * // FullName: "STRING_VALUE", // required
39
+ * // AddressLine1: "STRING_VALUE", // required
40
+ * // AddressLine2: "STRING_VALUE",
41
+ * // AddressLine3: "STRING_VALUE",
42
+ * // City: "STRING_VALUE", // required
43
+ * // StateOrRegion: "STRING_VALUE",
44
+ * // DistrictOrCounty: "STRING_VALUE",
45
+ * // PostalCode: "STRING_VALUE", // required
46
+ * // CountryCode: "STRING_VALUE", // required
47
+ * // PhoneNumber: "STRING_VALUE", // required
48
+ * // CompanyName: "STRING_VALUE",
49
+ * // WebsiteUrl: "STRING_VALUE",
50
+ * // },
51
+ * // };
52
+ *
36
53
  * ```
37
54
  *
38
55
  * @param GetContactInformationCommandInput - {@link GetContactInformationCommandInput}
@@ -59,6 +76,8 @@ export interface GetContactInformationCommandOutput extends GetContactInformatio
59
76
  * @throws {@link ValidationException} (client fault)
60
77
  * <p>The operation failed because one of the input parameters was invalid.</p>
61
78
  *
79
+ * @throws {@link AccountServiceException}
80
+ * <p>Base exception class for all service exceptions from Account service.</p>
62
81
  *
63
82
  */
64
83
  export declare class GetContactInformationCommand extends $Command<GetContactInformationCommandInput, GetContactInformationCommandOutput, AccountClientResolvedConfig> {
@@ -32,6 +32,11 @@ export interface GetRegionOptStatusCommandOutput extends GetRegionOptStatusRespo
32
32
  * };
33
33
  * const command = new GetRegionOptStatusCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // GetRegionOptStatusResponse
36
+ * // RegionName: "STRING_VALUE",
37
+ * // RegionOptStatus: "STRING_VALUE",
38
+ * // };
39
+ *
35
40
  * ```
36
41
  *
37
42
  * @param GetRegionOptStatusCommandInput - {@link GetRegionOptStatusCommandInput}
@@ -55,6 +60,8 @@ export interface GetRegionOptStatusCommandOutput extends GetRegionOptStatusRespo
55
60
  * @throws {@link ValidationException} (client fault)
56
61
  * <p>The operation failed because one of the input parameters was invalid.</p>
57
62
  *
63
+ * @throws {@link AccountServiceException}
64
+ * <p>Base exception class for all service exceptions from Account service.</p>
58
65
  *
59
66
  */
60
67
  export declare class GetRegionOptStatusCommand extends $Command<GetRegionOptStatusCommandInput, GetRegionOptStatusCommandOutput, AccountClientResolvedConfig> {
@@ -38,6 +38,16 @@ export interface ListRegionsCommandOutput extends ListRegionsResponse, __Metadat
38
38
  * };
39
39
  * const command = new ListRegionsCommand(input);
40
40
  * const response = await client.send(command);
41
+ * // { // ListRegionsResponse
42
+ * // NextToken: "STRING_VALUE",
43
+ * // Regions: [ // RegionOptList
44
+ * // { // Region
45
+ * // RegionName: "STRING_VALUE",
46
+ * // RegionOptStatus: "STRING_VALUE",
47
+ * // },
48
+ * // ],
49
+ * // };
50
+ *
41
51
  * ```
42
52
  *
43
53
  * @param ListRegionsCommandInput - {@link ListRegionsCommandInput}
@@ -61,6 +71,8 @@ export interface ListRegionsCommandOutput extends ListRegionsResponse, __Metadat
61
71
  * @throws {@link ValidationException} (client fault)
62
72
  * <p>The operation failed because one of the input parameters was invalid.</p>
63
73
  *
74
+ * @throws {@link AccountServiceException}
75
+ * <p>Base exception class for all service exceptions from Account service.</p>
64
76
  *
65
77
  */
66
78
  export declare class ListRegionsCommand extends $Command<ListRegionsCommandInput, ListRegionsCommandOutput, AccountClientResolvedConfig> {
@@ -44,6 +44,8 @@ export interface PutAlternateContactCommandOutput extends __MetadataBearer {
44
44
  * };
45
45
  * const command = new PutAlternateContactCommand(input);
46
46
  * const response = await client.send(command);
47
+ * // {};
48
+ *
47
49
  * ```
48
50
  *
49
51
  * @param PutAlternateContactCommandInput - {@link PutAlternateContactCommandInput}
@@ -67,6 +69,8 @@ export interface PutAlternateContactCommandOutput extends __MetadataBearer {
67
69
  * @throws {@link ValidationException} (client fault)
68
70
  * <p>The operation failed because one of the input parameters was invalid.</p>
69
71
  *
72
+ * @throws {@link AccountServiceException}
73
+ * <p>Base exception class for all service exceptions from Account service.</p>
70
74
  *
71
75
  */
72
76
  export declare class PutAlternateContactCommand extends $Command<PutAlternateContactCommandInput, PutAlternateContactCommandOutput, AccountClientResolvedConfig> {
@@ -47,6 +47,8 @@ export interface PutContactInformationCommandOutput extends __MetadataBearer {
47
47
  * };
48
48
  * const command = new PutContactInformationCommand(input);
49
49
  * const response = await client.send(command);
50
+ * // {};
51
+ *
50
52
  * ```
51
53
  *
52
54
  * @param PutContactInformationCommandInput - {@link PutContactInformationCommandInput}
@@ -70,6 +72,8 @@ export interface PutContactInformationCommandOutput extends __MetadataBearer {
70
72
  * @throws {@link ValidationException} (client fault)
71
73
  * <p>The operation failed because one of the input parameters was invalid.</p>
72
74
  *
75
+ * @throws {@link AccountServiceException}
76
+ * <p>Base exception class for all service exceptions from Account service.</p>
73
77
  *
74
78
  */
75
79
  export declare class PutContactInformationCommand extends $Command<PutContactInformationCommandInput, PutContactInformationCommandOutput, AccountClientResolvedConfig> {
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.321.1",
4
+ "version": "3.326.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,33 +21,33 @@
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.321.1",
24
+ "@aws-sdk/client-sts": "3.326.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.321.1",
26
+ "@aws-sdk/credential-provider-node": "3.326.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",
30
- "@aws-sdk/middleware-content-length": "3.310.0",
31
- "@aws-sdk/middleware-endpoint": "3.310.0",
32
- "@aws-sdk/middleware-host-header": "3.310.0",
33
- "@aws-sdk/middleware-logger": "3.310.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.310.0",
35
- "@aws-sdk/middleware-retry": "3.310.0",
36
- "@aws-sdk/middleware-serde": "3.310.0",
37
- "@aws-sdk/middleware-signing": "3.310.0",
38
- "@aws-sdk/middleware-stack": "3.310.0",
39
- "@aws-sdk/middleware-user-agent": "3.319.0",
30
+ "@aws-sdk/middleware-content-length": "3.325.0",
31
+ "@aws-sdk/middleware-endpoint": "3.325.0",
32
+ "@aws-sdk/middleware-host-header": "3.325.0",
33
+ "@aws-sdk/middleware-logger": "3.325.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.325.0",
35
+ "@aws-sdk/middleware-retry": "3.325.0",
36
+ "@aws-sdk/middleware-serde": "3.325.0",
37
+ "@aws-sdk/middleware-signing": "3.325.0",
38
+ "@aws-sdk/middleware-stack": "3.325.0",
39
+ "@aws-sdk/middleware-user-agent": "3.325.0",
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
41
  "@aws-sdk/node-http-handler": "3.321.1",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
43
- "@aws-sdk/smithy-client": "3.316.0",
43
+ "@aws-sdk/smithy-client": "3.325.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.316.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.316.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.325.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.325.0",
51
51
  "@aws-sdk/util-endpoints": "3.319.0",
52
52
  "@aws-sdk/util-retry": "3.310.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",