@aws-sdk/client-account 3.131.0 → 3.136.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/CHANGELOG.md +11 -0
- package/dist-cjs/Account.js +30 -0
- package/dist-cjs/commands/GetContactInformationCommand.js +36 -0
- package/dist-cjs/commands/PutContactInformationCommand.js +36 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +43 -1
- package/dist-cjs/protocols/Aws_restJson1.js +171 -1
- package/dist-es/Account.js +30 -0
- package/dist-es/commands/GetContactInformationCommand.js +39 -0
- package/dist-es/commands/PutContactInformationCommand.js +39 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +20 -0
- package/dist-es/protocols/Aws_restJson1.js +205 -0
- package/dist-types/Account.d.ts +38 -2
- package/dist-types/AccountClient.d.ts +4 -2
- package/dist-types/commands/DeleteAlternateContactCommand.d.ts +6 -0
- package/dist-types/commands/GetAlternateContactCommand.d.ts +7 -1
- package/dist-types/commands/GetContactInformationCommand.d.ts +37 -0
- package/dist-types/commands/PutAlternateContactCommand.d.ts +7 -1
- package/dist-types/commands/PutContactInformationCommand.d.ts +37 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +133 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
- package/dist-types/ts3.4/Account.d.ts +10 -0
- package/dist-types/ts3.4/AccountClient.d.ts +4 -2
- package/dist-types/ts3.4/commands/GetContactInformationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutContactInformationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +57 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +6 -0
- package/package.json +1 -1
|
@@ -2,7 +2,9 @@ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
|
2
2
|
import { AccountClient } from "./AccountClient";
|
|
3
3
|
import { DeleteAlternateContactCommandInput, DeleteAlternateContactCommandOutput } from "./commands/DeleteAlternateContactCommand";
|
|
4
4
|
import { GetAlternateContactCommandInput, GetAlternateContactCommandOutput } from "./commands/GetAlternateContactCommand";
|
|
5
|
+
import { GetContactInformationCommandInput, GetContactInformationCommandOutput } from "./commands/GetContactInformationCommand";
|
|
5
6
|
import { PutAlternateContactCommandInput, PutAlternateContactCommandOutput } from "./commands/PutAlternateContactCommand";
|
|
7
|
+
import { PutContactInformationCommandInput, PutContactInformationCommandOutput } from "./commands/PutContactInformationCommand";
|
|
6
8
|
|
|
7
9
|
export declare class Account extends AccountClient {
|
|
8
10
|
|
|
@@ -14,7 +16,15 @@ export declare class Account extends AccountClient {
|
|
|
14
16
|
getAlternateContact(args: GetAlternateContactCommandInput, cb: (err: any, data?: GetAlternateContactCommandOutput) => void): void;
|
|
15
17
|
getAlternateContact(args: GetAlternateContactCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAlternateContactCommandOutput) => void): void;
|
|
16
18
|
|
|
19
|
+
getContactInformation(args: GetContactInformationCommandInput, options?: __HttpHandlerOptions): Promise<GetContactInformationCommandOutput>;
|
|
20
|
+
getContactInformation(args: GetContactInformationCommandInput, cb: (err: any, data?: GetContactInformationCommandOutput) => void): void;
|
|
21
|
+
getContactInformation(args: GetContactInformationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetContactInformationCommandOutput) => void): void;
|
|
22
|
+
|
|
17
23
|
putAlternateContact(args: PutAlternateContactCommandInput, options?: __HttpHandlerOptions): Promise<PutAlternateContactCommandOutput>;
|
|
18
24
|
putAlternateContact(args: PutAlternateContactCommandInput, cb: (err: any, data?: PutAlternateContactCommandOutput) => void): void;
|
|
19
25
|
putAlternateContact(args: PutAlternateContactCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutAlternateContactCommandOutput) => void): void;
|
|
26
|
+
|
|
27
|
+
putContactInformation(args: PutContactInformationCommandInput, options?: __HttpHandlerOptions): Promise<PutContactInformationCommandOutput>;
|
|
28
|
+
putContactInformation(args: PutContactInformationCommandInput, cb: (err: any, data?: PutContactInformationCommandOutput) => void): void;
|
|
29
|
+
putContactInformation(args: PutContactInformationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutContactInformationCommandOutput) => void): void;
|
|
20
30
|
}
|
|
@@ -8,9 +8,11 @@ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfig
|
|
|
8
8
|
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { DeleteAlternateContactCommandInput, DeleteAlternateContactCommandOutput } from "./commands/DeleteAlternateContactCommand";
|
|
10
10
|
import { GetAlternateContactCommandInput, GetAlternateContactCommandOutput } from "./commands/GetAlternateContactCommand";
|
|
11
|
+
import { GetContactInformationCommandInput, GetContactInformationCommandOutput } from "./commands/GetContactInformationCommand";
|
|
11
12
|
import { PutAlternateContactCommandInput, PutAlternateContactCommandOutput } from "./commands/PutAlternateContactCommand";
|
|
12
|
-
|
|
13
|
-
export declare type
|
|
13
|
+
import { PutContactInformationCommandInput, PutContactInformationCommandOutput } from "./commands/PutContactInformationCommand";
|
|
14
|
+
export declare type ServiceInputTypes = DeleteAlternateContactCommandInput | GetAlternateContactCommandInput | GetContactInformationCommandInput | PutAlternateContactCommandInput | PutContactInformationCommandInput;
|
|
15
|
+
export declare type ServiceOutputTypes = DeleteAlternateContactCommandOutput | GetAlternateContactCommandOutput | GetContactInformationCommandOutput | PutAlternateContactCommandOutput | PutContactInformationCommandOutput;
|
|
14
16
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
15
17
|
|
|
16
18
|
requestHandler?: __HttpHandler;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { AccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccountClient";
|
|
4
|
+
import { GetContactInformationRequest, GetContactInformationResponse } from "../models/models_0";
|
|
5
|
+
export interface GetContactInformationCommandInput extends GetContactInformationRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetContactInformationCommandOutput extends GetContactInformationResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class GetContactInformationCommand extends $Command<GetContactInformationCommandInput, GetContactInformationCommandOutput, AccountClientResolvedConfig> {
|
|
11
|
+
readonly input: GetContactInformationCommandInput;
|
|
12
|
+
constructor(input: GetContactInformationCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AccountClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetContactInformationCommandInput, GetContactInformationCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { AccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccountClient";
|
|
4
|
+
import { PutContactInformationRequest } from "../models/models_0";
|
|
5
|
+
export interface PutContactInformationCommandInput extends PutContactInformationRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface PutContactInformationCommandOutput extends __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class PutContactInformationCommand extends $Command<PutContactInformationCommandInput, PutContactInformationCommandOutput, AccountClientResolvedConfig> {
|
|
11
|
+
readonly input: PutContactInformationCommandInput;
|
|
12
|
+
constructor(input: PutContactInformationCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AccountClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutContactInformationCommandInput, PutContactInformationCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -107,3 +107,60 @@ export declare namespace PutAlternateContactRequest {
|
|
|
107
107
|
|
|
108
108
|
const filterSensitiveLog: (obj: PutAlternateContactRequest) => any;
|
|
109
109
|
}
|
|
110
|
+
export interface GetContactInformationRequest {
|
|
111
|
+
|
|
112
|
+
AccountId?: string;
|
|
113
|
+
}
|
|
114
|
+
export declare namespace GetContactInformationRequest {
|
|
115
|
+
|
|
116
|
+
const filterSensitiveLog: (obj: GetContactInformationRequest) => any;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
export interface ContactInformation {
|
|
120
|
+
|
|
121
|
+
FullName: string | undefined;
|
|
122
|
+
|
|
123
|
+
AddressLine1: string | undefined;
|
|
124
|
+
|
|
125
|
+
AddressLine2?: string;
|
|
126
|
+
|
|
127
|
+
AddressLine3?: string;
|
|
128
|
+
|
|
129
|
+
City: string | undefined;
|
|
130
|
+
|
|
131
|
+
StateOrRegion?: string;
|
|
132
|
+
|
|
133
|
+
DistrictOrCounty?: string;
|
|
134
|
+
|
|
135
|
+
PostalCode: string | undefined;
|
|
136
|
+
|
|
137
|
+
CountryCode: string | undefined;
|
|
138
|
+
|
|
139
|
+
PhoneNumber: string | undefined;
|
|
140
|
+
|
|
141
|
+
CompanyName?: string;
|
|
142
|
+
|
|
143
|
+
WebsiteUrl?: string;
|
|
144
|
+
}
|
|
145
|
+
export declare namespace ContactInformation {
|
|
146
|
+
|
|
147
|
+
const filterSensitiveLog: (obj: ContactInformation) => any;
|
|
148
|
+
}
|
|
149
|
+
export interface GetContactInformationResponse {
|
|
150
|
+
|
|
151
|
+
ContactInformation?: ContactInformation;
|
|
152
|
+
}
|
|
153
|
+
export declare namespace GetContactInformationResponse {
|
|
154
|
+
|
|
155
|
+
const filterSensitiveLog: (obj: GetContactInformationResponse) => any;
|
|
156
|
+
}
|
|
157
|
+
export interface PutContactInformationRequest {
|
|
158
|
+
|
|
159
|
+
ContactInformation: ContactInformation | undefined;
|
|
160
|
+
|
|
161
|
+
AccountId?: string;
|
|
162
|
+
}
|
|
163
|
+
export declare namespace PutContactInformationRequest {
|
|
164
|
+
|
|
165
|
+
const filterSensitiveLog: (obj: PutContactInformationRequest) => any;
|
|
166
|
+
}
|
|
@@ -2,10 +2,16 @@ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@a
|
|
|
2
2
|
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
3
3
|
import { DeleteAlternateContactCommandInput, DeleteAlternateContactCommandOutput } from "../commands/DeleteAlternateContactCommand";
|
|
4
4
|
import { GetAlternateContactCommandInput, GetAlternateContactCommandOutput } from "../commands/GetAlternateContactCommand";
|
|
5
|
+
import { GetContactInformationCommandInput, GetContactInformationCommandOutput } from "../commands/GetContactInformationCommand";
|
|
5
6
|
import { PutAlternateContactCommandInput, PutAlternateContactCommandOutput } from "../commands/PutAlternateContactCommand";
|
|
7
|
+
import { PutContactInformationCommandInput, PutContactInformationCommandOutput } from "../commands/PutContactInformationCommand";
|
|
6
8
|
export declare const serializeAws_restJson1DeleteAlternateContactCommand: (input: DeleteAlternateContactCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
7
9
|
export declare const serializeAws_restJson1GetAlternateContactCommand: (input: GetAlternateContactCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
10
|
+
export declare const serializeAws_restJson1GetContactInformationCommand: (input: GetContactInformationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
8
11
|
export declare const serializeAws_restJson1PutAlternateContactCommand: (input: PutAlternateContactCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
12
|
+
export declare const serializeAws_restJson1PutContactInformationCommand: (input: PutContactInformationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
9
13
|
export declare const deserializeAws_restJson1DeleteAlternateContactCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteAlternateContactCommandOutput>;
|
|
10
14
|
export declare const deserializeAws_restJson1GetAlternateContactCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetAlternateContactCommandOutput>;
|
|
15
|
+
export declare const deserializeAws_restJson1GetContactInformationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetContactInformationCommandOutput>;
|
|
11
16
|
export declare const deserializeAws_restJson1PutAlternateContactCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutAlternateContactCommandOutput>;
|
|
17
|
+
export declare const deserializeAws_restJson1PutContactInformationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutContactInformationCommandOutput>;
|
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.136.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",
|