@aws-sdk/client-mailmanager 3.734.0 → 3.741.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/README.md +104 -0
- package/dist-cjs/MailManager.js +26 -0
- package/dist-cjs/commands/CreateAddonInstanceCommand.js +1 -2
- package/dist-cjs/commands/CreateAddonSubscriptionCommand.js +1 -2
- package/dist-cjs/commands/CreateAddressListCommand.js +26 -0
- package/dist-cjs/commands/CreateAddressListImportJobCommand.js +27 -0
- package/dist-cjs/commands/CreateArchiveCommand.js +1 -2
- package/dist-cjs/commands/CreateRelayCommand.js +1 -2
- package/dist-cjs/commands/CreateTrafficPolicyCommand.js +1 -2
- package/dist-cjs/commands/DeleteAddressListCommand.js +26 -0
- package/dist-cjs/commands/DeregisterMemberFromAddressListCommand.js +27 -0
- package/dist-cjs/commands/GetAddressListCommand.js +26 -0
- package/dist-cjs/commands/GetAddressListImportJobCommand.js +27 -0
- package/dist-cjs/commands/GetMemberOfAddressListCommand.js +27 -0
- package/dist-cjs/commands/ListAddressListImportJobsCommand.js +27 -0
- package/dist-cjs/commands/ListAddressListsCommand.js +26 -0
- package/dist-cjs/commands/ListMembersOfAddressListCommand.js +27 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -2
- package/dist-cjs/commands/RegisterMemberToAddressListCommand.js +27 -0
- package/dist-cjs/commands/StartAddressListImportJobCommand.js +26 -0
- package/dist-cjs/commands/StopAddressListImportJobCommand.js +26 -0
- package/dist-cjs/commands/TagResourceCommand.js +1 -2
- package/dist-cjs/commands/UntagResourceCommand.js +1 -2
- package/dist-cjs/commands/index.js +13 -0
- package/dist-cjs/models/models_0.js +94 -59
- package/dist-cjs/pagination/ListAddressListImportJobsPaginator.js +7 -0
- package/dist-cjs/pagination/ListAddressListsPaginator.js +7 -0
- package/dist-cjs/pagination/ListMembersOfAddressListPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +3 -0
- package/dist-cjs/protocols/Aws_json1_0.js +395 -2
- package/dist-es/MailManager.js +26 -0
- package/dist-es/commands/CreateAddonInstanceCommand.js +1 -2
- package/dist-es/commands/CreateAddonSubscriptionCommand.js +1 -2
- package/dist-es/commands/CreateAddressListCommand.js +22 -0
- package/dist-es/commands/CreateAddressListImportJobCommand.js +23 -0
- package/dist-es/commands/CreateArchiveCommand.js +1 -2
- package/dist-es/commands/CreateRelayCommand.js +1 -2
- package/dist-es/commands/CreateTrafficPolicyCommand.js +1 -2
- package/dist-es/commands/DeleteAddressListCommand.js +22 -0
- package/dist-es/commands/DeregisterMemberFromAddressListCommand.js +23 -0
- package/dist-es/commands/GetAddressListCommand.js +22 -0
- package/dist-es/commands/GetAddressListImportJobCommand.js +23 -0
- package/dist-es/commands/GetMemberOfAddressListCommand.js +23 -0
- package/dist-es/commands/ListAddressListImportJobsCommand.js +23 -0
- package/dist-es/commands/ListAddressListsCommand.js +22 -0
- package/dist-es/commands/ListMembersOfAddressListCommand.js +23 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +1 -2
- package/dist-es/commands/RegisterMemberToAddressListCommand.js +23 -0
- package/dist-es/commands/StartAddressListImportJobCommand.js +22 -0
- package/dist-es/commands/StopAddressListImportJobCommand.js +22 -0
- package/dist-es/commands/TagResourceCommand.js +1 -2
- package/dist-es/commands/UntagResourceCommand.js +1 -2
- package/dist-es/commands/index.js +13 -0
- package/dist-es/models/models_0.js +78 -46
- package/dist-es/pagination/ListAddressListImportJobsPaginator.js +4 -0
- package/dist-es/pagination/ListAddressListsPaginator.js +4 -0
- package/dist-es/pagination/ListMembersOfAddressListPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_json1_0.js +366 -0
- package/dist-types/MailManager.d.ts +92 -0
- package/dist-types/MailManagerClient.d.ts +15 -2
- package/dist-types/commands/CreateAddressListCommand.d.ts +93 -0
- package/dist-types/commands/CreateAddressListImportJobCommand.d.ts +89 -0
- package/dist-types/commands/CreateRuleSetCommand.d.ts +12 -0
- package/dist-types/commands/CreateTrafficPolicyCommand.d.ts +6 -0
- package/dist-types/commands/DeleteAddressListCommand.d.ts +78 -0
- package/dist-types/commands/DeregisterMemberFromAddressListCommand.d.ts +82 -0
- package/dist-types/commands/GetAddressListCommand.d.ts +87 -0
- package/dist-types/commands/GetAddressListImportJobCommand.d.ts +96 -0
- package/dist-types/commands/GetMemberOfAddressListCommand.d.ts +85 -0
- package/dist-types/commands/GetRuleSetCommand.d.ts +12 -0
- package/dist-types/commands/GetTrafficPolicyCommand.d.ts +6 -0
- package/dist-types/commands/ListAddressListImportJobsCommand.d.ts +103 -0
- package/dist-types/commands/ListAddressListsCommand.d.ts +90 -0
- package/dist-types/commands/ListMembersOfAddressListCommand.d.ts +94 -0
- package/dist-types/commands/RegisterMemberToAddressListCommand.d.ts +85 -0
- package/dist-types/commands/StartAddressListImportJobCommand.d.ts +87 -0
- package/dist-types/commands/StopAddressListImportJobCommand.d.ts +84 -0
- package/dist-types/commands/UpdateRuleSetCommand.d.ts +12 -0
- package/dist-types/commands/UpdateTrafficPolicyCommand.d.ts +6 -0
- package/dist-types/commands/index.d.ts +13 -0
- package/dist-types/models/models_0.d.ts +702 -34
- package/dist-types/pagination/ListAddressListImportJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAddressListsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListMembersOfAddressListPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +117 -0
- package/dist-types/ts3.4/MailManager.d.ts +222 -0
- package/dist-types/ts3.4/MailManagerClient.d.ts +78 -0
- package/dist-types/ts3.4/commands/CreateAddressListCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateAddressListImportJobCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteAddressListCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeregisterMemberFromAddressListCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetAddressListCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetAddressListImportJobCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetMemberOfAddressListCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListAddressListImportJobsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListAddressListsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListMembersOfAddressListCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/RegisterMemberToAddressListCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartAddressListImportJobCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StopAddressListImportJobCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +13 -0
- package/dist-types/ts3.4/models/models_0.d.ts +225 -29
- package/dist-types/ts3.4/pagination/ListAddressListImportJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAddressListsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListMembersOfAddressListPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +156 -0
- package/package.json +2 -2
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { MailManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MailManagerClient";
|
|
4
|
+
import { DeregisterMemberFromAddressListRequest, DeregisterMemberFromAddressListResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeregisterMemberFromAddressListCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeregisterMemberFromAddressListCommandInput extends DeregisterMemberFromAddressListRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeregisterMemberFromAddressListCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeregisterMemberFromAddressListCommandOutput extends DeregisterMemberFromAddressListResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeregisterMemberFromAddressListCommand_base: {
|
|
25
|
+
new (input: DeregisterMemberFromAddressListCommandInput): import("@smithy/smithy-client").CommandImpl<DeregisterMemberFromAddressListCommandInput, DeregisterMemberFromAddressListCommandOutput, MailManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: DeregisterMemberFromAddressListCommandInput): import("@smithy/smithy-client").CommandImpl<DeregisterMemberFromAddressListCommandInput, DeregisterMemberFromAddressListCommandOutput, MailManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Removes a member from an address list.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { MailManagerClient, DeregisterMemberFromAddressListCommand } from "@aws-sdk/client-mailmanager"; // ES Modules import
|
|
35
|
+
* // const { MailManagerClient, DeregisterMemberFromAddressListCommand } = require("@aws-sdk/client-mailmanager"); // CommonJS import
|
|
36
|
+
* const client = new MailManagerClient(config);
|
|
37
|
+
* const input = { // DeregisterMemberFromAddressListRequest
|
|
38
|
+
* AddressListId: "STRING_VALUE", // required
|
|
39
|
+
* Address: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new DeregisterMemberFromAddressListCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // {};
|
|
44
|
+
*
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* @param DeregisterMemberFromAddressListCommandInput - {@link DeregisterMemberFromAddressListCommandInput}
|
|
48
|
+
* @returns {@link DeregisterMemberFromAddressListCommandOutput}
|
|
49
|
+
* @see {@link DeregisterMemberFromAddressListCommandInput} for command's `input` shape.
|
|
50
|
+
* @see {@link DeregisterMemberFromAddressListCommandOutput} for command's `response` shape.
|
|
51
|
+
* @see {@link MailManagerClientResolvedConfig | config} for MailManagerClient's `config` shape.
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
54
|
+
* <p>Occurs when a user is denied access to a specific resource or action.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
57
|
+
* <p>Occurs when a requested resource is not found.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
60
|
+
* <p>Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ValidationException} (client fault)
|
|
63
|
+
* <p>The request validation has failed. For details, see the accompanying error message.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link MailManagerServiceException}
|
|
66
|
+
* <p>Base exception class for all service exceptions from MailManager service.</p>
|
|
67
|
+
*
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
export declare class DeregisterMemberFromAddressListCommand extends DeregisterMemberFromAddressListCommand_base {
|
|
71
|
+
/** @internal type navigation helper, not in runtime. */
|
|
72
|
+
protected static __types: {
|
|
73
|
+
api: {
|
|
74
|
+
input: DeregisterMemberFromAddressListRequest;
|
|
75
|
+
output: {};
|
|
76
|
+
};
|
|
77
|
+
sdk: {
|
|
78
|
+
input: DeregisterMemberFromAddressListCommandInput;
|
|
79
|
+
output: DeregisterMemberFromAddressListCommandOutput;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { MailManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MailManagerClient";
|
|
4
|
+
import { GetAddressListRequest, GetAddressListResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetAddressListCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetAddressListCommandInput extends GetAddressListRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetAddressListCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetAddressListCommandOutput extends GetAddressListResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetAddressListCommand_base: {
|
|
25
|
+
new (input: GetAddressListCommandInput): import("@smithy/smithy-client").CommandImpl<GetAddressListCommandInput, GetAddressListCommandOutput, MailManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetAddressListCommandInput): import("@smithy/smithy-client").CommandImpl<GetAddressListCommandInput, GetAddressListCommandOutput, MailManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Fetch attributes of an address list.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { MailManagerClient, GetAddressListCommand } from "@aws-sdk/client-mailmanager"; // ES Modules import
|
|
35
|
+
* // const { MailManagerClient, GetAddressListCommand } = require("@aws-sdk/client-mailmanager"); // CommonJS import
|
|
36
|
+
* const client = new MailManagerClient(config);
|
|
37
|
+
* const input = { // GetAddressListRequest
|
|
38
|
+
* AddressListId: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new GetAddressListCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetAddressListResponse
|
|
43
|
+
* // AddressListId: "STRING_VALUE", // required
|
|
44
|
+
* // AddressListArn: "STRING_VALUE", // required
|
|
45
|
+
* // AddressListName: "STRING_VALUE", // required
|
|
46
|
+
* // CreatedTimestamp: new Date("TIMESTAMP"), // required
|
|
47
|
+
* // LastUpdatedTimestamp: new Date("TIMESTAMP"), // required
|
|
48
|
+
* // };
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param GetAddressListCommandInput - {@link GetAddressListCommandInput}
|
|
53
|
+
* @returns {@link GetAddressListCommandOutput}
|
|
54
|
+
* @see {@link GetAddressListCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link GetAddressListCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link MailManagerClientResolvedConfig | config} for MailManagerClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
59
|
+
* <p>Occurs when a user is denied access to a specific resource or action.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
62
|
+
* <p>Occurs when a requested resource is not found.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
65
|
+
* <p>Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ValidationException} (client fault)
|
|
68
|
+
* <p>The request validation has failed. For details, see the accompanying error message.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link MailManagerServiceException}
|
|
71
|
+
* <p>Base exception class for all service exceptions from MailManager service.</p>
|
|
72
|
+
*
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
export declare class GetAddressListCommand extends GetAddressListCommand_base {
|
|
76
|
+
/** @internal type navigation helper, not in runtime. */
|
|
77
|
+
protected static __types: {
|
|
78
|
+
api: {
|
|
79
|
+
input: GetAddressListRequest;
|
|
80
|
+
output: GetAddressListResponse;
|
|
81
|
+
};
|
|
82
|
+
sdk: {
|
|
83
|
+
input: GetAddressListCommandInput;
|
|
84
|
+
output: GetAddressListCommandOutput;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { MailManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MailManagerClient";
|
|
4
|
+
import { GetAddressListImportJobRequest, GetAddressListImportJobResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetAddressListImportJobCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetAddressListImportJobCommandInput extends GetAddressListImportJobRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetAddressListImportJobCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetAddressListImportJobCommandOutput extends GetAddressListImportJobResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetAddressListImportJobCommand_base: {
|
|
25
|
+
new (input: GetAddressListImportJobCommandInput): import("@smithy/smithy-client").CommandImpl<GetAddressListImportJobCommandInput, GetAddressListImportJobCommandOutput, MailManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetAddressListImportJobCommandInput): import("@smithy/smithy-client").CommandImpl<GetAddressListImportJobCommandInput, GetAddressListImportJobCommandOutput, MailManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Fetch attributes of an import job.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { MailManagerClient, GetAddressListImportJobCommand } from "@aws-sdk/client-mailmanager"; // ES Modules import
|
|
35
|
+
* // const { MailManagerClient, GetAddressListImportJobCommand } = require("@aws-sdk/client-mailmanager"); // CommonJS import
|
|
36
|
+
* const client = new MailManagerClient(config);
|
|
37
|
+
* const input = { // GetAddressListImportJobRequest
|
|
38
|
+
* JobId: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new GetAddressListImportJobCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetAddressListImportJobResponse
|
|
43
|
+
* // JobId: "STRING_VALUE", // required
|
|
44
|
+
* // Name: "STRING_VALUE", // required
|
|
45
|
+
* // Status: "CREATED" || "PROCESSING" || "COMPLETED" || "FAILED" || "STOPPED", // required
|
|
46
|
+
* // PreSignedUrl: "STRING_VALUE", // required
|
|
47
|
+
* // ImportedItemsCount: Number("int"),
|
|
48
|
+
* // FailedItemsCount: Number("int"),
|
|
49
|
+
* // ImportDataFormat: { // ImportDataFormat
|
|
50
|
+
* // ImportDataType: "CSV" || "JSON", // required
|
|
51
|
+
* // },
|
|
52
|
+
* // AddressListId: "STRING_VALUE", // required
|
|
53
|
+
* // CreatedTimestamp: new Date("TIMESTAMP"), // required
|
|
54
|
+
* // StartTimestamp: new Date("TIMESTAMP"),
|
|
55
|
+
* // CompletedTimestamp: new Date("TIMESTAMP"),
|
|
56
|
+
* // Error: "STRING_VALUE",
|
|
57
|
+
* // };
|
|
58
|
+
*
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
61
|
+
* @param GetAddressListImportJobCommandInput - {@link GetAddressListImportJobCommandInput}
|
|
62
|
+
* @returns {@link GetAddressListImportJobCommandOutput}
|
|
63
|
+
* @see {@link GetAddressListImportJobCommandInput} for command's `input` shape.
|
|
64
|
+
* @see {@link GetAddressListImportJobCommandOutput} for command's `response` shape.
|
|
65
|
+
* @see {@link MailManagerClientResolvedConfig | config} for MailManagerClient's `config` shape.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
68
|
+
* <p>Occurs when a user is denied access to a specific resource or action.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
71
|
+
* <p>Occurs when a requested resource is not found.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
74
|
+
* <p>Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ValidationException} (client fault)
|
|
77
|
+
* <p>The request validation has failed. For details, see the accompanying error message.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link MailManagerServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from MailManager service.</p>
|
|
81
|
+
*
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
export declare class GetAddressListImportJobCommand extends GetAddressListImportJobCommand_base {
|
|
85
|
+
/** @internal type navigation helper, not in runtime. */
|
|
86
|
+
protected static __types: {
|
|
87
|
+
api: {
|
|
88
|
+
input: GetAddressListImportJobRequest;
|
|
89
|
+
output: GetAddressListImportJobResponse;
|
|
90
|
+
};
|
|
91
|
+
sdk: {
|
|
92
|
+
input: GetAddressListImportJobCommandInput;
|
|
93
|
+
output: GetAddressListImportJobCommandOutput;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { MailManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MailManagerClient";
|
|
4
|
+
import { GetMemberOfAddressListRequest, GetMemberOfAddressListResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetMemberOfAddressListCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetMemberOfAddressListCommandInput extends GetMemberOfAddressListRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetMemberOfAddressListCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetMemberOfAddressListCommandOutput extends GetMemberOfAddressListResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetMemberOfAddressListCommand_base: {
|
|
25
|
+
new (input: GetMemberOfAddressListCommandInput): import("@smithy/smithy-client").CommandImpl<GetMemberOfAddressListCommandInput, GetMemberOfAddressListCommandOutput, MailManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetMemberOfAddressListCommandInput): import("@smithy/smithy-client").CommandImpl<GetMemberOfAddressListCommandInput, GetMemberOfAddressListCommandOutput, MailManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Fetch attributes of a member in an address list.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { MailManagerClient, GetMemberOfAddressListCommand } from "@aws-sdk/client-mailmanager"; // ES Modules import
|
|
35
|
+
* // const { MailManagerClient, GetMemberOfAddressListCommand } = require("@aws-sdk/client-mailmanager"); // CommonJS import
|
|
36
|
+
* const client = new MailManagerClient(config);
|
|
37
|
+
* const input = { // GetMemberOfAddressListRequest
|
|
38
|
+
* AddressListId: "STRING_VALUE", // required
|
|
39
|
+
* Address: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new GetMemberOfAddressListCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // GetMemberOfAddressListResponse
|
|
44
|
+
* // Address: "STRING_VALUE", // required
|
|
45
|
+
* // CreatedTimestamp: new Date("TIMESTAMP"), // required
|
|
46
|
+
* // };
|
|
47
|
+
*
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @param GetMemberOfAddressListCommandInput - {@link GetMemberOfAddressListCommandInput}
|
|
51
|
+
* @returns {@link GetMemberOfAddressListCommandOutput}
|
|
52
|
+
* @see {@link GetMemberOfAddressListCommandInput} for command's `input` shape.
|
|
53
|
+
* @see {@link GetMemberOfAddressListCommandOutput} for command's `response` shape.
|
|
54
|
+
* @see {@link MailManagerClientResolvedConfig | config} for MailManagerClient's `config` shape.
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
57
|
+
* <p>Occurs when a user is denied access to a specific resource or action.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
60
|
+
* <p>Occurs when a requested resource is not found.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
63
|
+
* <p>Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ValidationException} (client fault)
|
|
66
|
+
* <p>The request validation has failed. For details, see the accompanying error message.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link MailManagerServiceException}
|
|
69
|
+
* <p>Base exception class for all service exceptions from MailManager service.</p>
|
|
70
|
+
*
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
export declare class GetMemberOfAddressListCommand extends GetMemberOfAddressListCommand_base {
|
|
74
|
+
/** @internal type navigation helper, not in runtime. */
|
|
75
|
+
protected static __types: {
|
|
76
|
+
api: {
|
|
77
|
+
input: GetMemberOfAddressListRequest;
|
|
78
|
+
output: GetMemberOfAddressListResponse;
|
|
79
|
+
};
|
|
80
|
+
sdk: {
|
|
81
|
+
input: GetMemberOfAddressListCommandInput;
|
|
82
|
+
output: GetMemberOfAddressListCommandOutput;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
}
|
|
@@ -53,6 +53,12 @@ declare const GetRuleSetCommand_base: {
|
|
|
53
53
|
* // BooleanExpression: { // RuleBooleanExpression
|
|
54
54
|
* // Evaluate: { // RuleBooleanToEvaluate Union: only one key present
|
|
55
55
|
* // Attribute: "READ_RECEIPT_REQUESTED" || "TLS" || "TLS_WRAPPED",
|
|
56
|
+
* // IsInAddressList: { // RuleIsInAddressList
|
|
57
|
+
* // Attribute: "RECIPIENT" || "MAIL_FROM" || "SENDER" || "FROM" || "TO" || "CC", // required
|
|
58
|
+
* // AddressLists: [ // RuleAddressListArnList // required
|
|
59
|
+
* // "STRING_VALUE",
|
|
60
|
+
* // ],
|
|
61
|
+
* // },
|
|
56
62
|
* // },
|
|
57
63
|
* // Operator: "IS_TRUE" || "IS_FALSE", // required
|
|
58
64
|
* // },
|
|
@@ -108,6 +114,12 @@ declare const GetRuleSetCommand_base: {
|
|
|
108
114
|
* // BooleanExpression: {
|
|
109
115
|
* // Evaluate: {// Union: only one key present
|
|
110
116
|
* // Attribute: "READ_RECEIPT_REQUESTED" || "TLS" || "TLS_WRAPPED",
|
|
117
|
+
* // IsInAddressList: {
|
|
118
|
+
* // Attribute: "RECIPIENT" || "MAIL_FROM" || "SENDER" || "FROM" || "TO" || "CC", // required
|
|
119
|
+
* // AddressLists: [ // required
|
|
120
|
+
* // "STRING_VALUE",
|
|
121
|
+
* // ],
|
|
122
|
+
* // },
|
|
111
123
|
* // },
|
|
112
124
|
* // Operator: "IS_TRUE" || "IS_FALSE", // required
|
|
113
125
|
* // },
|
|
@@ -78,6 +78,12 @@ declare const GetTrafficPolicyCommand_base: {
|
|
|
78
78
|
* // Analyzer: "STRING_VALUE", // required
|
|
79
79
|
* // ResultField: "STRING_VALUE", // required
|
|
80
80
|
* // },
|
|
81
|
+
* // IsInAddressList: { // IngressIsInAddressList
|
|
82
|
+
* // Attribute: "RECIPIENT", // required
|
|
83
|
+
* // AddressLists: [ // IngressAddressListArnList // required
|
|
84
|
+
* // "STRING_VALUE",
|
|
85
|
+
* // ],
|
|
86
|
+
* // },
|
|
81
87
|
* // },
|
|
82
88
|
* // Operator: "IS_TRUE" || "IS_FALSE", // required
|
|
83
89
|
* // },
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { MailManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MailManagerClient";
|
|
4
|
+
import { ListAddressListImportJobsRequest, ListAddressListImportJobsResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListAddressListImportJobsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListAddressListImportJobsCommandInput extends ListAddressListImportJobsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListAddressListImportJobsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListAddressListImportJobsCommandOutput extends ListAddressListImportJobsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListAddressListImportJobsCommand_base: {
|
|
25
|
+
new (input: ListAddressListImportJobsCommandInput): import("@smithy/smithy-client").CommandImpl<ListAddressListImportJobsCommandInput, ListAddressListImportJobsCommandOutput, MailManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: ListAddressListImportJobsCommandInput): import("@smithy/smithy-client").CommandImpl<ListAddressListImportJobsCommandInput, ListAddressListImportJobsCommandOutput, MailManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists jobs for an address list.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { MailManagerClient, ListAddressListImportJobsCommand } from "@aws-sdk/client-mailmanager"; // ES Modules import
|
|
35
|
+
* // const { MailManagerClient, ListAddressListImportJobsCommand } = require("@aws-sdk/client-mailmanager"); // CommonJS import
|
|
36
|
+
* const client = new MailManagerClient(config);
|
|
37
|
+
* const input = { // ListAddressListImportJobsRequest
|
|
38
|
+
* AddressListId: "STRING_VALUE", // required
|
|
39
|
+
* NextToken: "STRING_VALUE",
|
|
40
|
+
* PageSize: Number("int"),
|
|
41
|
+
* };
|
|
42
|
+
* const command = new ListAddressListImportJobsCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // ListAddressListImportJobsResponse
|
|
45
|
+
* // ImportJobs: [ // ImportJobs // required
|
|
46
|
+
* // { // ImportJob
|
|
47
|
+
* // JobId: "STRING_VALUE", // required
|
|
48
|
+
* // Name: "STRING_VALUE", // required
|
|
49
|
+
* // Status: "CREATED" || "PROCESSING" || "COMPLETED" || "FAILED" || "STOPPED", // required
|
|
50
|
+
* // PreSignedUrl: "STRING_VALUE", // required
|
|
51
|
+
* // ImportedItemsCount: Number("int"),
|
|
52
|
+
* // FailedItemsCount: Number("int"),
|
|
53
|
+
* // ImportDataFormat: { // ImportDataFormat
|
|
54
|
+
* // ImportDataType: "CSV" || "JSON", // required
|
|
55
|
+
* // },
|
|
56
|
+
* // AddressListId: "STRING_VALUE", // required
|
|
57
|
+
* // CreatedTimestamp: new Date("TIMESTAMP"), // required
|
|
58
|
+
* // StartTimestamp: new Date("TIMESTAMP"),
|
|
59
|
+
* // CompletedTimestamp: new Date("TIMESTAMP"),
|
|
60
|
+
* // Error: "STRING_VALUE",
|
|
61
|
+
* // },
|
|
62
|
+
* // ],
|
|
63
|
+
* // NextToken: "STRING_VALUE",
|
|
64
|
+
* // };
|
|
65
|
+
*
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
68
|
+
* @param ListAddressListImportJobsCommandInput - {@link ListAddressListImportJobsCommandInput}
|
|
69
|
+
* @returns {@link ListAddressListImportJobsCommandOutput}
|
|
70
|
+
* @see {@link ListAddressListImportJobsCommandInput} for command's `input` shape.
|
|
71
|
+
* @see {@link ListAddressListImportJobsCommandOutput} for command's `response` shape.
|
|
72
|
+
* @see {@link MailManagerClientResolvedConfig | config} for MailManagerClient's `config` shape.
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
75
|
+
* <p>Occurs when a user is denied access to a specific resource or action.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
78
|
+
* <p>Occurs when a requested resource is not found.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
81
|
+
* <p>Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ValidationException} (client fault)
|
|
84
|
+
* <p>The request validation has failed. For details, see the accompanying error message.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link MailManagerServiceException}
|
|
87
|
+
* <p>Base exception class for all service exceptions from MailManager service.</p>
|
|
88
|
+
*
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export declare class ListAddressListImportJobsCommand extends ListAddressListImportJobsCommand_base {
|
|
92
|
+
/** @internal type navigation helper, not in runtime. */
|
|
93
|
+
protected static __types: {
|
|
94
|
+
api: {
|
|
95
|
+
input: ListAddressListImportJobsRequest;
|
|
96
|
+
output: ListAddressListImportJobsResponse;
|
|
97
|
+
};
|
|
98
|
+
sdk: {
|
|
99
|
+
input: ListAddressListImportJobsCommandInput;
|
|
100
|
+
output: ListAddressListImportJobsCommandOutput;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { MailManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MailManagerClient";
|
|
4
|
+
import { ListAddressListsRequest, ListAddressListsResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListAddressListsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListAddressListsCommandInput extends ListAddressListsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListAddressListsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListAddressListsCommandOutput extends ListAddressListsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListAddressListsCommand_base: {
|
|
25
|
+
new (input: ListAddressListsCommandInput): import("@smithy/smithy-client").CommandImpl<ListAddressListsCommandInput, ListAddressListsCommandOutput, MailManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListAddressListsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListAddressListsCommandInput, ListAddressListsCommandOutput, MailManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists address lists for this account.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { MailManagerClient, ListAddressListsCommand } from "@aws-sdk/client-mailmanager"; // ES Modules import
|
|
35
|
+
* // const { MailManagerClient, ListAddressListsCommand } = require("@aws-sdk/client-mailmanager"); // CommonJS import
|
|
36
|
+
* const client = new MailManagerClient(config);
|
|
37
|
+
* const input = { // ListAddressListsRequest
|
|
38
|
+
* NextToken: "STRING_VALUE",
|
|
39
|
+
* PageSize: Number("int"),
|
|
40
|
+
* };
|
|
41
|
+
* const command = new ListAddressListsCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // ListAddressListsResponse
|
|
44
|
+
* // AddressLists: [ // AddressLists // required
|
|
45
|
+
* // { // AddressList
|
|
46
|
+
* // AddressListId: "STRING_VALUE", // required
|
|
47
|
+
* // AddressListArn: "STRING_VALUE", // required
|
|
48
|
+
* // AddressListName: "STRING_VALUE", // required
|
|
49
|
+
* // CreatedTimestamp: new Date("TIMESTAMP"), // required
|
|
50
|
+
* // LastUpdatedTimestamp: new Date("TIMESTAMP"), // required
|
|
51
|
+
* // },
|
|
52
|
+
* // ],
|
|
53
|
+
* // NextToken: "STRING_VALUE",
|
|
54
|
+
* // };
|
|
55
|
+
*
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* @param ListAddressListsCommandInput - {@link ListAddressListsCommandInput}
|
|
59
|
+
* @returns {@link ListAddressListsCommandOutput}
|
|
60
|
+
* @see {@link ListAddressListsCommandInput} for command's `input` shape.
|
|
61
|
+
* @see {@link ListAddressListsCommandOutput} for command's `response` shape.
|
|
62
|
+
* @see {@link MailManagerClientResolvedConfig | config} for MailManagerClient's `config` shape.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
65
|
+
* <p>Occurs when a user is denied access to a specific resource or action.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
68
|
+
* <p>Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ValidationException} (client fault)
|
|
71
|
+
* <p>The request validation has failed. For details, see the accompanying error message.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link MailManagerServiceException}
|
|
74
|
+
* <p>Base exception class for all service exceptions from MailManager service.</p>
|
|
75
|
+
*
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
export declare class ListAddressListsCommand extends ListAddressListsCommand_base {
|
|
79
|
+
/** @internal type navigation helper, not in runtime. */
|
|
80
|
+
protected static __types: {
|
|
81
|
+
api: {
|
|
82
|
+
input: ListAddressListsRequest;
|
|
83
|
+
output: ListAddressListsResponse;
|
|
84
|
+
};
|
|
85
|
+
sdk: {
|
|
86
|
+
input: ListAddressListsCommandInput;
|
|
87
|
+
output: ListAddressListsCommandOutput;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
}
|