@aws-sdk/client-sesv2 3.856.0 → 3.858.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.
Files changed (97) hide show
  1. package/README.md +103 -7
  2. package/dist-cjs/index.js +710 -23
  3. package/dist-es/SESv2.js +24 -0
  4. package/dist-es/commands/CreateTenantCommand.js +22 -0
  5. package/dist-es/commands/CreateTenantResourceAssociationCommand.js +22 -0
  6. package/dist-es/commands/DeleteTenantCommand.js +22 -0
  7. package/dist-es/commands/DeleteTenantResourceAssociationCommand.js +22 -0
  8. package/dist-es/commands/GetReputationEntityCommand.js +22 -0
  9. package/dist-es/commands/GetTenantCommand.js +22 -0
  10. package/dist-es/commands/ListReputationEntitiesCommand.js +22 -0
  11. package/dist-es/commands/ListResourceTenantsCommand.js +22 -0
  12. package/dist-es/commands/ListTenantResourcesCommand.js +22 -0
  13. package/dist-es/commands/ListTenantsCommand.js +22 -0
  14. package/dist-es/commands/PutAccountDetailsCommand.js +1 -1
  15. package/dist-es/commands/UpdateReputationEntityCustomerManagedStatusCommand.js +22 -0
  16. package/dist-es/commands/UpdateReputationEntityPolicyCommand.js +22 -0
  17. package/dist-es/commands/index.js +12 -0
  18. package/dist-es/models/models_0.js +21 -10
  19. package/dist-es/models/models_1.js +15 -0
  20. package/dist-es/pagination/ListReputationEntitiesPaginator.js +4 -0
  21. package/dist-es/pagination/ListResourceTenantsPaginator.js +4 -0
  22. package/dist-es/pagination/ListTenantResourcesPaginator.js +4 -0
  23. package/dist-es/pagination/ListTenantsPaginator.js +4 -0
  24. package/dist-es/pagination/index.js +4 -0
  25. package/dist-es/protocols/Aws_restJson1.js +395 -0
  26. package/dist-types/SESv2.d.ts +86 -0
  27. package/dist-types/SESv2Client.d.ts +14 -2
  28. package/dist-types/commands/CreateTenantCommand.d.ts +105 -0
  29. package/dist-types/commands/CreateTenantResourceAssociationCommand.d.ts +89 -0
  30. package/dist-types/commands/DeleteTenantCommand.d.ts +81 -0
  31. package/dist-types/commands/DeleteTenantResourceAssociationCommand.d.ts +83 -0
  32. package/dist-types/commands/GetReputationEntityCommand.d.ts +105 -0
  33. package/dist-types/commands/GetTenantCommand.d.ts +94 -0
  34. package/dist-types/commands/ListRecommendationsCommand.d.ts +1 -1
  35. package/dist-types/commands/ListReputationEntitiesCommand.d.ts +107 -0
  36. package/dist-types/commands/ListResourceTenantsCommand.d.ts +94 -0
  37. package/dist-types/commands/ListSuppressedDestinationsCommand.d.ts +1 -1
  38. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  39. package/dist-types/commands/ListTenantResourcesCommand.d.ts +95 -0
  40. package/dist-types/commands/ListTenantsCommand.d.ts +89 -0
  41. package/dist-types/commands/PutAccountDedicatedIpWarmupAttributesCommand.d.ts +1 -1
  42. package/dist-types/commands/PutAccountDetailsCommand.d.ts +1 -1
  43. package/dist-types/commands/PutAccountSendingAttributesCommand.d.ts +1 -1
  44. package/dist-types/commands/PutAccountSuppressionAttributesCommand.d.ts +1 -1
  45. package/dist-types/commands/PutAccountVdmAttributesCommand.d.ts +1 -1
  46. package/dist-types/commands/PutConfigurationSetArchivingOptionsCommand.d.ts +1 -1
  47. package/dist-types/commands/PutConfigurationSetDeliveryOptionsCommand.d.ts +1 -1
  48. package/dist-types/commands/PutConfigurationSetReputationOptionsCommand.d.ts +1 -1
  49. package/dist-types/commands/PutConfigurationSetSendingOptionsCommand.d.ts +1 -1
  50. package/dist-types/commands/SendBulkEmailCommand.d.ts +1 -0
  51. package/dist-types/commands/SendEmailCommand.d.ts +1 -0
  52. package/dist-types/commands/UpdateReputationEntityCustomerManagedStatusCommand.d.ts +89 -0
  53. package/dist-types/commands/UpdateReputationEntityPolicyCommand.d.ts +85 -0
  54. package/dist-types/commands/index.d.ts +12 -0
  55. package/dist-types/models/models_0.d.ts +399 -314
  56. package/dist-types/models/models_1.d.ts +612 -1
  57. package/dist-types/pagination/ListReputationEntitiesPaginator.d.ts +7 -0
  58. package/dist-types/pagination/ListResourceTenantsPaginator.d.ts +7 -0
  59. package/dist-types/pagination/ListTenantResourcesPaginator.d.ts +7 -0
  60. package/dist-types/pagination/ListTenantsPaginator.d.ts +7 -0
  61. package/dist-types/pagination/index.d.ts +4 -0
  62. package/dist-types/protocols/Aws_restJson1.d.ts +108 -0
  63. package/dist-types/ts3.4/SESv2.d.ts +212 -0
  64. package/dist-types/ts3.4/SESv2Client.d.ts +74 -2
  65. package/dist-types/ts3.4/commands/CreateTenantCommand.d.ts +47 -0
  66. package/dist-types/ts3.4/commands/CreateTenantResourceAssociationCommand.d.ts +51 -0
  67. package/dist-types/ts3.4/commands/DeleteTenantCommand.d.ts +47 -0
  68. package/dist-types/ts3.4/commands/DeleteTenantResourceAssociationCommand.d.ts +51 -0
  69. package/dist-types/ts3.4/commands/GetReputationEntityCommand.d.ts +51 -0
  70. package/dist-types/ts3.4/commands/GetTenantCommand.d.ts +47 -0
  71. package/dist-types/ts3.4/commands/ListReputationEntitiesCommand.d.ts +51 -0
  72. package/dist-types/ts3.4/commands/ListResourceTenantsCommand.d.ts +51 -0
  73. package/dist-types/ts3.4/commands/ListSuppressedDestinationsCommand.d.ts +1 -1
  74. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  75. package/dist-types/ts3.4/commands/ListTenantResourcesCommand.d.ts +51 -0
  76. package/dist-types/ts3.4/commands/ListTenantsCommand.d.ts +47 -0
  77. package/dist-types/ts3.4/commands/PutAccountDedicatedIpWarmupAttributesCommand.d.ts +1 -1
  78. package/dist-types/ts3.4/commands/PutAccountDetailsCommand.d.ts +1 -1
  79. package/dist-types/ts3.4/commands/PutAccountSendingAttributesCommand.d.ts +1 -1
  80. package/dist-types/ts3.4/commands/PutAccountSuppressionAttributesCommand.d.ts +1 -1
  81. package/dist-types/ts3.4/commands/PutAccountVdmAttributesCommand.d.ts +1 -1
  82. package/dist-types/ts3.4/commands/PutConfigurationSetArchivingOptionsCommand.d.ts +1 -1
  83. package/dist-types/ts3.4/commands/PutConfigurationSetDeliveryOptionsCommand.d.ts +1 -1
  84. package/dist-types/ts3.4/commands/PutConfigurationSetReputationOptionsCommand.d.ts +1 -1
  85. package/dist-types/ts3.4/commands/PutConfigurationSetSendingOptionsCommand.d.ts +1 -1
  86. package/dist-types/ts3.4/commands/UpdateReputationEntityCustomerManagedStatusCommand.d.ts +51 -0
  87. package/dist-types/ts3.4/commands/UpdateReputationEntityPolicyCommand.d.ts +51 -0
  88. package/dist-types/ts3.4/commands/index.d.ts +12 -0
  89. package/dist-types/ts3.4/models/models_0.d.ts +104 -69
  90. package/dist-types/ts3.4/models/models_1.d.ts +131 -0
  91. package/dist-types/ts3.4/pagination/ListReputationEntitiesPaginator.d.ts +11 -0
  92. package/dist-types/ts3.4/pagination/ListResourceTenantsPaginator.d.ts +11 -0
  93. package/dist-types/ts3.4/pagination/ListTenantResourcesPaginator.d.ts +11 -0
  94. package/dist-types/ts3.4/pagination/ListTenantsPaginator.d.ts +11 -0
  95. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  96. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +144 -0
  97. package/package.json +12 -12
@@ -0,0 +1,105 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GetReputationEntityRequest, GetReputationEntityResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, SESv2ClientResolvedConfig } from "../SESv2Client";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetReputationEntityCommand}.
14
+ */
15
+ export interface GetReputationEntityCommandInput extends GetReputationEntityRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetReputationEntityCommand}.
21
+ */
22
+ export interface GetReputationEntityCommandOutput extends GetReputationEntityResponse, __MetadataBearer {
23
+ }
24
+ declare const GetReputationEntityCommand_base: {
25
+ new (input: GetReputationEntityCommandInput): import("@smithy/smithy-client").CommandImpl<GetReputationEntityCommandInput, GetReputationEntityCommandOutput, SESv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetReputationEntityCommandInput): import("@smithy/smithy-client").CommandImpl<GetReputationEntityCommandInput, GetReputationEntityCommandOutput, SESv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieve information about a specific reputation entity, including its reputation
31
+ * management policy, customer-managed status, Amazon Web Services Amazon SES-managed status, and aggregate
32
+ * sending status.</p>
33
+ * <p>
34
+ * <i>Reputation entities</i> represent resources in your Amazon SES account that have reputation
35
+ * tracking and management capabilities. The reputation impact reflects the highest
36
+ * impact reputation finding for the entity. Reputation findings can be retrieved
37
+ * using the <code>ListRecommendations</code> operation.</p>
38
+ * @example
39
+ * Use a bare-bones client and the command you need to make an API call.
40
+ * ```javascript
41
+ * import { SESv2Client, GetReputationEntityCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
42
+ * // const { SESv2Client, GetReputationEntityCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
43
+ * const client = new SESv2Client(config);
44
+ * const input = { // GetReputationEntityRequest
45
+ * ReputationEntityReference: "STRING_VALUE", // required
46
+ * ReputationEntityType: "RESOURCE", // required
47
+ * };
48
+ * const command = new GetReputationEntityCommand(input);
49
+ * const response = await client.send(command);
50
+ * // { // GetReputationEntityResponse
51
+ * // ReputationEntity: { // ReputationEntity
52
+ * // ReputationEntityReference: "STRING_VALUE",
53
+ * // ReputationEntityType: "RESOURCE",
54
+ * // ReputationManagementPolicy: "STRING_VALUE",
55
+ * // CustomerManagedStatus: { // StatusRecord
56
+ * // Status: "ENABLED" || "REINSTATED" || "DISABLED",
57
+ * // Cause: "STRING_VALUE",
58
+ * // LastUpdatedTimestamp: new Date("TIMESTAMP"),
59
+ * // },
60
+ * // AwsSesManagedStatus: {
61
+ * // Status: "ENABLED" || "REINSTATED" || "DISABLED",
62
+ * // Cause: "STRING_VALUE",
63
+ * // LastUpdatedTimestamp: new Date("TIMESTAMP"),
64
+ * // },
65
+ * // SendingStatusAggregate: "ENABLED" || "REINSTATED" || "DISABLED",
66
+ * // ReputationImpact: "LOW" || "HIGH",
67
+ * // },
68
+ * // };
69
+ *
70
+ * ```
71
+ *
72
+ * @param GetReputationEntityCommandInput - {@link GetReputationEntityCommandInput}
73
+ * @returns {@link GetReputationEntityCommandOutput}
74
+ * @see {@link GetReputationEntityCommandInput} for command's `input` shape.
75
+ * @see {@link GetReputationEntityCommandOutput} for command's `response` shape.
76
+ * @see {@link SESv2ClientResolvedConfig | config} for SESv2Client's `config` shape.
77
+ *
78
+ * @throws {@link BadRequestException} (client fault)
79
+ * <p>The input you provided is invalid.</p>
80
+ *
81
+ * @throws {@link NotFoundException} (client fault)
82
+ * <p>The resource you attempted to access doesn't exist.</p>
83
+ *
84
+ * @throws {@link TooManyRequestsException} (client fault)
85
+ * <p>Too many requests have been made to the operation.</p>
86
+ *
87
+ * @throws {@link SESv2ServiceException}
88
+ * <p>Base exception class for all service exceptions from SESv2 service.</p>
89
+ *
90
+ *
91
+ * @public
92
+ */
93
+ export declare class GetReputationEntityCommand extends GetReputationEntityCommand_base {
94
+ /** @internal type navigation helper, not in runtime. */
95
+ protected static __types: {
96
+ api: {
97
+ input: GetReputationEntityRequest;
98
+ output: GetReputationEntityResponse;
99
+ };
100
+ sdk: {
101
+ input: GetReputationEntityCommandInput;
102
+ output: GetReputationEntityCommandOutput;
103
+ };
104
+ };
105
+ }
@@ -0,0 +1,94 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GetTenantRequest, GetTenantResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, SESv2ClientResolvedConfig } from "../SESv2Client";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetTenantCommand}.
14
+ */
15
+ export interface GetTenantCommandInput extends GetTenantRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetTenantCommand}.
21
+ */
22
+ export interface GetTenantCommandOutput extends GetTenantResponse, __MetadataBearer {
23
+ }
24
+ declare const GetTenantCommand_base: {
25
+ new (input: GetTenantCommandInput): import("@smithy/smithy-client").CommandImpl<GetTenantCommandInput, GetTenantCommandOutput, SESv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetTenantCommandInput): import("@smithy/smithy-client").CommandImpl<GetTenantCommandInput, GetTenantCommandOutput, SESv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Get information about a specific tenant, including the tenant's name, ID, ARN,
31
+ * creation timestamp, tags, and sending status.</p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { SESv2Client, GetTenantCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
36
+ * // const { SESv2Client, GetTenantCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
37
+ * const client = new SESv2Client(config);
38
+ * const input = { // GetTenantRequest
39
+ * TenantName: "STRING_VALUE", // required
40
+ * };
41
+ * const command = new GetTenantCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // GetTenantResponse
44
+ * // Tenant: { // Tenant
45
+ * // TenantName: "STRING_VALUE",
46
+ * // TenantId: "STRING_VALUE",
47
+ * // TenantArn: "STRING_VALUE",
48
+ * // CreatedTimestamp: new Date("TIMESTAMP"),
49
+ * // Tags: [ // TagList
50
+ * // { // Tag
51
+ * // Key: "STRING_VALUE", // required
52
+ * // Value: "STRING_VALUE", // required
53
+ * // },
54
+ * // ],
55
+ * // SendingStatus: "ENABLED" || "REINSTATED" || "DISABLED",
56
+ * // },
57
+ * // };
58
+ *
59
+ * ```
60
+ *
61
+ * @param GetTenantCommandInput - {@link GetTenantCommandInput}
62
+ * @returns {@link GetTenantCommandOutput}
63
+ * @see {@link GetTenantCommandInput} for command's `input` shape.
64
+ * @see {@link GetTenantCommandOutput} for command's `response` shape.
65
+ * @see {@link SESv2ClientResolvedConfig | config} for SESv2Client's `config` shape.
66
+ *
67
+ * @throws {@link BadRequestException} (client fault)
68
+ * <p>The input you provided is invalid.</p>
69
+ *
70
+ * @throws {@link NotFoundException} (client fault)
71
+ * <p>The resource you attempted to access doesn't exist.</p>
72
+ *
73
+ * @throws {@link TooManyRequestsException} (client fault)
74
+ * <p>Too many requests have been made to the operation.</p>
75
+ *
76
+ * @throws {@link SESv2ServiceException}
77
+ * <p>Base exception class for all service exceptions from SESv2 service.</p>
78
+ *
79
+ *
80
+ * @public
81
+ */
82
+ export declare class GetTenantCommand extends GetTenantCommand_base {
83
+ /** @internal type navigation helper, not in runtime. */
84
+ protected static __types: {
85
+ api: {
86
+ input: GetTenantRequest;
87
+ output: GetTenantResponse;
88
+ };
89
+ sdk: {
90
+ input: GetTenantCommandInput;
91
+ output: GetTenantCommandOutput;
92
+ };
93
+ };
94
+ }
@@ -48,7 +48,7 @@ declare const ListRecommendationsCommand_base: {
48
48
  * // Recommendations: [ // RecommendationsList
49
49
  * // { // Recommendation
50
50
  * // ResourceArn: "STRING_VALUE",
51
- * // Type: "DKIM" || "DMARC" || "SPF" || "BIMI" || "COMPLAINT",
51
+ * // Type: "DKIM" || "DMARC" || "SPF" || "BIMI" || "COMPLAINT" || "BOUNCE" || "FEEDBACK_3P" || "IP_LISTING",
52
52
  * // Description: "STRING_VALUE",
53
53
  * // Status: "OPEN" || "FIXED",
54
54
  * // CreatedTimestamp: new Date("TIMESTAMP"),
@@ -0,0 +1,107 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListReputationEntitiesRequest, ListReputationEntitiesResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, SESv2ClientResolvedConfig } from "../SESv2Client";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListReputationEntitiesCommand}.
14
+ */
15
+ export interface ListReputationEntitiesCommandInput extends ListReputationEntitiesRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListReputationEntitiesCommand}.
21
+ */
22
+ export interface ListReputationEntitiesCommandOutput extends ListReputationEntitiesResponse, __MetadataBearer {
23
+ }
24
+ declare const ListReputationEntitiesCommand_base: {
25
+ new (input: ListReputationEntitiesCommandInput): import("@smithy/smithy-client").CommandImpl<ListReputationEntitiesCommandInput, ListReputationEntitiesCommandOutput, SESv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListReputationEntitiesCommandInput]): import("@smithy/smithy-client").CommandImpl<ListReputationEntitiesCommandInput, ListReputationEntitiesCommandOutput, SESv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>List reputation entities in your Amazon SES account in the current Amazon Web Services Region.
31
+ * You can filter the results by entity type, reputation impact, sending status,
32
+ * or entity reference prefix.</p>
33
+ * <p>
34
+ * <i>Reputation entities</i> represent resources in your account that have reputation
35
+ * tracking and management capabilities. Use this operation to get an overview of
36
+ * all entities and their current reputation status.</p>
37
+ * @example
38
+ * Use a bare-bones client and the command you need to make an API call.
39
+ * ```javascript
40
+ * import { SESv2Client, ListReputationEntitiesCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
41
+ * // const { SESv2Client, ListReputationEntitiesCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
42
+ * const client = new SESv2Client(config);
43
+ * const input = { // ListReputationEntitiesRequest
44
+ * Filter: { // ReputationEntityFilter
45
+ * "<keys>": "STRING_VALUE",
46
+ * },
47
+ * NextToken: "STRING_VALUE",
48
+ * PageSize: Number("int"),
49
+ * };
50
+ * const command = new ListReputationEntitiesCommand(input);
51
+ * const response = await client.send(command);
52
+ * // { // ListReputationEntitiesResponse
53
+ * // ReputationEntities: [ // ReputationEntitiesList
54
+ * // { // ReputationEntity
55
+ * // ReputationEntityReference: "STRING_VALUE",
56
+ * // ReputationEntityType: "RESOURCE",
57
+ * // ReputationManagementPolicy: "STRING_VALUE",
58
+ * // CustomerManagedStatus: { // StatusRecord
59
+ * // Status: "ENABLED" || "REINSTATED" || "DISABLED",
60
+ * // Cause: "STRING_VALUE",
61
+ * // LastUpdatedTimestamp: new Date("TIMESTAMP"),
62
+ * // },
63
+ * // AwsSesManagedStatus: {
64
+ * // Status: "ENABLED" || "REINSTATED" || "DISABLED",
65
+ * // Cause: "STRING_VALUE",
66
+ * // LastUpdatedTimestamp: new Date("TIMESTAMP"),
67
+ * // },
68
+ * // SendingStatusAggregate: "ENABLED" || "REINSTATED" || "DISABLED",
69
+ * // ReputationImpact: "LOW" || "HIGH",
70
+ * // },
71
+ * // ],
72
+ * // NextToken: "STRING_VALUE",
73
+ * // };
74
+ *
75
+ * ```
76
+ *
77
+ * @param ListReputationEntitiesCommandInput - {@link ListReputationEntitiesCommandInput}
78
+ * @returns {@link ListReputationEntitiesCommandOutput}
79
+ * @see {@link ListReputationEntitiesCommandInput} for command's `input` shape.
80
+ * @see {@link ListReputationEntitiesCommandOutput} for command's `response` shape.
81
+ * @see {@link SESv2ClientResolvedConfig | config} for SESv2Client's `config` shape.
82
+ *
83
+ * @throws {@link BadRequestException} (client fault)
84
+ * <p>The input you provided is invalid.</p>
85
+ *
86
+ * @throws {@link TooManyRequestsException} (client fault)
87
+ * <p>Too many requests have been made to the operation.</p>
88
+ *
89
+ * @throws {@link SESv2ServiceException}
90
+ * <p>Base exception class for all service exceptions from SESv2 service.</p>
91
+ *
92
+ *
93
+ * @public
94
+ */
95
+ export declare class ListReputationEntitiesCommand extends ListReputationEntitiesCommand_base {
96
+ /** @internal type navigation helper, not in runtime. */
97
+ protected static __types: {
98
+ api: {
99
+ input: ListReputationEntitiesRequest;
100
+ output: ListReputationEntitiesResponse;
101
+ };
102
+ sdk: {
103
+ input: ListReputationEntitiesCommandInput;
104
+ output: ListReputationEntitiesCommandOutput;
105
+ };
106
+ };
107
+ }
@@ -0,0 +1,94 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListResourceTenantsRequest, ListResourceTenantsResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, SESv2ClientResolvedConfig } from "../SESv2Client";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListResourceTenantsCommand}.
14
+ */
15
+ export interface ListResourceTenantsCommandInput extends ListResourceTenantsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListResourceTenantsCommand}.
21
+ */
22
+ export interface ListResourceTenantsCommandOutput extends ListResourceTenantsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListResourceTenantsCommand_base: {
25
+ new (input: ListResourceTenantsCommandInput): import("@smithy/smithy-client").CommandImpl<ListResourceTenantsCommandInput, ListResourceTenantsCommandOutput, SESv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListResourceTenantsCommandInput): import("@smithy/smithy-client").CommandImpl<ListResourceTenantsCommandInput, ListResourceTenantsCommandOutput, SESv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>List all tenants associated with a specific resource.</p>
31
+ * <p>This operation returns a list of tenants that are associated with the specified
32
+ * resource. This is useful for understanding which tenants are currently using a particular
33
+ * resource such as an email identity, configuration set, or email template.</p>
34
+ * @example
35
+ * Use a bare-bones client and the command you need to make an API call.
36
+ * ```javascript
37
+ * import { SESv2Client, ListResourceTenantsCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
38
+ * // const { SESv2Client, ListResourceTenantsCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
39
+ * const client = new SESv2Client(config);
40
+ * const input = { // ListResourceTenantsRequest
41
+ * ResourceArn: "STRING_VALUE", // required
42
+ * PageSize: Number("int"),
43
+ * NextToken: "STRING_VALUE",
44
+ * };
45
+ * const command = new ListResourceTenantsCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // ListResourceTenantsResponse
48
+ * // ResourceTenants: [ // ResourceTenantMetadataList
49
+ * // { // ResourceTenantMetadata
50
+ * // TenantName: "STRING_VALUE",
51
+ * // TenantId: "STRING_VALUE",
52
+ * // ResourceArn: "STRING_VALUE",
53
+ * // AssociatedTimestamp: new Date("TIMESTAMP"),
54
+ * // },
55
+ * // ],
56
+ * // NextToken: "STRING_VALUE",
57
+ * // };
58
+ *
59
+ * ```
60
+ *
61
+ * @param ListResourceTenantsCommandInput - {@link ListResourceTenantsCommandInput}
62
+ * @returns {@link ListResourceTenantsCommandOutput}
63
+ * @see {@link ListResourceTenantsCommandInput} for command's `input` shape.
64
+ * @see {@link ListResourceTenantsCommandOutput} for command's `response` shape.
65
+ * @see {@link SESv2ClientResolvedConfig | config} for SESv2Client's `config` shape.
66
+ *
67
+ * @throws {@link BadRequestException} (client fault)
68
+ * <p>The input you provided is invalid.</p>
69
+ *
70
+ * @throws {@link NotFoundException} (client fault)
71
+ * <p>The resource you attempted to access doesn't exist.</p>
72
+ *
73
+ * @throws {@link TooManyRequestsException} (client fault)
74
+ * <p>Too many requests have been made to the operation.</p>
75
+ *
76
+ * @throws {@link SESv2ServiceException}
77
+ * <p>Base exception class for all service exceptions from SESv2 service.</p>
78
+ *
79
+ *
80
+ * @public
81
+ */
82
+ export declare class ListResourceTenantsCommand extends ListResourceTenantsCommand_base {
83
+ /** @internal type navigation helper, not in runtime. */
84
+ protected static __types: {
85
+ api: {
86
+ input: ListResourceTenantsRequest;
87
+ output: ListResourceTenantsResponse;
88
+ };
89
+ sdk: {
90
+ input: ListResourceTenantsCommandInput;
91
+ output: ListResourceTenantsCommandOutput;
92
+ };
93
+ };
94
+ }
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { ListSuppressedDestinationsRequest, ListSuppressedDestinationsResponse } from "../models/models_0";
3
+ import { ListSuppressedDestinationsRequest, ListSuppressedDestinationsResponse } from "../models/models_1";
4
4
  import { ServiceInputTypes, ServiceOutputTypes, SESv2ClientResolvedConfig } from "../SESv2Client";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
3
+ import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_1";
4
4
  import { ServiceInputTypes, ServiceOutputTypes, SESv2ClientResolvedConfig } from "../SESv2Client";
5
5
  /**
6
6
  * @public
@@ -0,0 +1,95 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListTenantResourcesRequest, ListTenantResourcesResponse } from "../models/models_1";
4
+ import { ServiceInputTypes, ServiceOutputTypes, SESv2ClientResolvedConfig } from "../SESv2Client";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListTenantResourcesCommand}.
14
+ */
15
+ export interface ListTenantResourcesCommandInput extends ListTenantResourcesRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListTenantResourcesCommand}.
21
+ */
22
+ export interface ListTenantResourcesCommandOutput extends ListTenantResourcesResponse, __MetadataBearer {
23
+ }
24
+ declare const ListTenantResourcesCommand_base: {
25
+ new (input: ListTenantResourcesCommandInput): import("@smithy/smithy-client").CommandImpl<ListTenantResourcesCommandInput, ListTenantResourcesCommandOutput, SESv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListTenantResourcesCommandInput): import("@smithy/smithy-client").CommandImpl<ListTenantResourcesCommandInput, ListTenantResourcesCommandOutput, SESv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>List all resources associated with a specific tenant.</p>
31
+ * <p>This operation returns a list of resources (email identities, configuration sets,
32
+ * or email templates) that are associated with the specified tenant. You can optionally
33
+ * filter the results by resource type.</p>
34
+ * @example
35
+ * Use a bare-bones client and the command you need to make an API call.
36
+ * ```javascript
37
+ * import { SESv2Client, ListTenantResourcesCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
38
+ * // const { SESv2Client, ListTenantResourcesCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
39
+ * const client = new SESv2Client(config);
40
+ * const input = { // ListTenantResourcesRequest
41
+ * TenantName: "STRING_VALUE", // required
42
+ * Filter: { // ListTenantResourcesFilter
43
+ * "<keys>": "STRING_VALUE",
44
+ * },
45
+ * PageSize: Number("int"),
46
+ * NextToken: "STRING_VALUE",
47
+ * };
48
+ * const command = new ListTenantResourcesCommand(input);
49
+ * const response = await client.send(command);
50
+ * // { // ListTenantResourcesResponse
51
+ * // TenantResources: [ // TenantResourceList
52
+ * // { // TenantResource
53
+ * // ResourceType: "EMAIL_IDENTITY" || "CONFIGURATION_SET" || "EMAIL_TEMPLATE",
54
+ * // ResourceArn: "STRING_VALUE",
55
+ * // },
56
+ * // ],
57
+ * // NextToken: "STRING_VALUE",
58
+ * // };
59
+ *
60
+ * ```
61
+ *
62
+ * @param ListTenantResourcesCommandInput - {@link ListTenantResourcesCommandInput}
63
+ * @returns {@link ListTenantResourcesCommandOutput}
64
+ * @see {@link ListTenantResourcesCommandInput} for command's `input` shape.
65
+ * @see {@link ListTenantResourcesCommandOutput} for command's `response` shape.
66
+ * @see {@link SESv2ClientResolvedConfig | config} for SESv2Client's `config` shape.
67
+ *
68
+ * @throws {@link BadRequestException} (client fault)
69
+ * <p>The input you provided is invalid.</p>
70
+ *
71
+ * @throws {@link NotFoundException} (client fault)
72
+ * <p>The resource you attempted to access doesn't exist.</p>
73
+ *
74
+ * @throws {@link TooManyRequestsException} (client fault)
75
+ * <p>Too many requests have been made to the operation.</p>
76
+ *
77
+ * @throws {@link SESv2ServiceException}
78
+ * <p>Base exception class for all service exceptions from SESv2 service.</p>
79
+ *
80
+ *
81
+ * @public
82
+ */
83
+ export declare class ListTenantResourcesCommand extends ListTenantResourcesCommand_base {
84
+ /** @internal type navigation helper, not in runtime. */
85
+ protected static __types: {
86
+ api: {
87
+ input: ListTenantResourcesRequest;
88
+ output: ListTenantResourcesResponse;
89
+ };
90
+ sdk: {
91
+ input: ListTenantResourcesCommandInput;
92
+ output: ListTenantResourcesCommandOutput;
93
+ };
94
+ };
95
+ }
@@ -0,0 +1,89 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListTenantsRequest, ListTenantsResponse } from "../models/models_1";
4
+ import { ServiceInputTypes, ServiceOutputTypes, SESv2ClientResolvedConfig } from "../SESv2Client";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListTenantsCommand}.
14
+ */
15
+ export interface ListTenantsCommandInput extends ListTenantsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListTenantsCommand}.
21
+ */
22
+ export interface ListTenantsCommandOutput extends ListTenantsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListTenantsCommand_base: {
25
+ new (input: ListTenantsCommandInput): import("@smithy/smithy-client").CommandImpl<ListTenantsCommandInput, ListTenantsCommandOutput, SESv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListTenantsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListTenantsCommandInput, ListTenantsCommandOutput, SESv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>List all tenants associated with your account in the current Amazon Web Services Region.</p>
31
+ * <p>This operation returns basic information about each tenant,
32
+ * such as tenant name, ID, ARN, and creation timestamp.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { SESv2Client, ListTenantsCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
37
+ * // const { SESv2Client, ListTenantsCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
38
+ * const client = new SESv2Client(config);
39
+ * const input = { // ListTenantsRequest
40
+ * NextToken: "STRING_VALUE",
41
+ * PageSize: Number("int"),
42
+ * };
43
+ * const command = new ListTenantsCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // ListTenantsResponse
46
+ * // Tenants: [ // TenantInfoList
47
+ * // { // TenantInfo
48
+ * // TenantName: "STRING_VALUE",
49
+ * // TenantId: "STRING_VALUE",
50
+ * // TenantArn: "STRING_VALUE",
51
+ * // CreatedTimestamp: new Date("TIMESTAMP"),
52
+ * // },
53
+ * // ],
54
+ * // NextToken: "STRING_VALUE",
55
+ * // };
56
+ *
57
+ * ```
58
+ *
59
+ * @param ListTenantsCommandInput - {@link ListTenantsCommandInput}
60
+ * @returns {@link ListTenantsCommandOutput}
61
+ * @see {@link ListTenantsCommandInput} for command's `input` shape.
62
+ * @see {@link ListTenantsCommandOutput} for command's `response` shape.
63
+ * @see {@link SESv2ClientResolvedConfig | config} for SESv2Client's `config` shape.
64
+ *
65
+ * @throws {@link BadRequestException} (client fault)
66
+ * <p>The input you provided is invalid.</p>
67
+ *
68
+ * @throws {@link TooManyRequestsException} (client fault)
69
+ * <p>Too many requests have been made to the operation.</p>
70
+ *
71
+ * @throws {@link SESv2ServiceException}
72
+ * <p>Base exception class for all service exceptions from SESv2 service.</p>
73
+ *
74
+ *
75
+ * @public
76
+ */
77
+ export declare class ListTenantsCommand extends ListTenantsCommand_base {
78
+ /** @internal type navigation helper, not in runtime. */
79
+ protected static __types: {
80
+ api: {
81
+ input: ListTenantsRequest;
82
+ output: ListTenantsResponse;
83
+ };
84
+ sdk: {
85
+ input: ListTenantsCommandInput;
86
+ output: ListTenantsCommandOutput;
87
+ };
88
+ };
89
+ }
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutAccountDedicatedIpWarmupAttributesRequest, PutAccountDedicatedIpWarmupAttributesResponse } from "../models/models_0";
3
+ import { PutAccountDedicatedIpWarmupAttributesRequest, PutAccountDedicatedIpWarmupAttributesResponse } from "../models/models_1";
4
4
  import { ServiceInputTypes, ServiceOutputTypes, SESv2ClientResolvedConfig } from "../SESv2Client";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutAccountDetailsRequest, PutAccountDetailsResponse } from "../models/models_0";
3
+ import { PutAccountDetailsRequest, PutAccountDetailsResponse } from "../models/models_1";
4
4
  import { ServiceInputTypes, ServiceOutputTypes, SESv2ClientResolvedConfig } from "../SESv2Client";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutAccountSendingAttributesRequest, PutAccountSendingAttributesResponse } from "../models/models_0";
3
+ import { PutAccountSendingAttributesRequest, PutAccountSendingAttributesResponse } from "../models/models_1";
4
4
  import { ServiceInputTypes, ServiceOutputTypes, SESv2ClientResolvedConfig } from "../SESv2Client";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutAccountSuppressionAttributesRequest, PutAccountSuppressionAttributesResponse } from "../models/models_0";
3
+ import { PutAccountSuppressionAttributesRequest, PutAccountSuppressionAttributesResponse } from "../models/models_1";
4
4
  import { ServiceInputTypes, ServiceOutputTypes, SESv2ClientResolvedConfig } from "../SESv2Client";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutAccountVdmAttributesRequest, PutAccountVdmAttributesResponse } from "../models/models_0";
3
+ import { PutAccountVdmAttributesRequest, PutAccountVdmAttributesResponse } from "../models/models_1";
4
4
  import { ServiceInputTypes, ServiceOutputTypes, SESv2ClientResolvedConfig } from "../SESv2Client";
5
5
  /**
6
6
  * @public