@aws-sdk/client-mailmanager 3.775.0 → 3.777.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 (61) hide show
  1. package/dist-types/commands/CreateAddonInstanceCommand.d.ts +1 -0
  2. package/dist-types/commands/CreateAddonSubscriptionCommand.d.ts +1 -0
  3. package/dist-types/commands/CreateAddressListCommand.d.ts +1 -0
  4. package/dist-types/commands/CreateAddressListImportJobCommand.d.ts +1 -0
  5. package/dist-types/commands/CreateArchiveCommand.d.ts +1 -0
  6. package/dist-types/commands/CreateIngressPointCommand.d.ts +79 -0
  7. package/dist-types/commands/CreateRelayCommand.d.ts +1 -0
  8. package/dist-types/commands/CreateRuleSetCommand.d.ts +1 -0
  9. package/dist-types/commands/CreateTrafficPolicyCommand.d.ts +35 -0
  10. package/dist-types/commands/DeleteAddonInstanceCommand.d.ts +1 -0
  11. package/dist-types/commands/DeleteAddonSubscriptionCommand.d.ts +1 -0
  12. package/dist-types/commands/DeleteAddressListCommand.d.ts +1 -0
  13. package/dist-types/commands/DeleteArchiveCommand.d.ts +1 -0
  14. package/dist-types/commands/DeleteIngressPointCommand.d.ts +14 -0
  15. package/dist-types/commands/DeleteRelayCommand.d.ts +1 -0
  16. package/dist-types/commands/DeleteRuleSetCommand.d.ts +1 -0
  17. package/dist-types/commands/DeleteTrafficPolicyCommand.d.ts +14 -0
  18. package/dist-types/commands/DeregisterMemberFromAddressListCommand.d.ts +1 -0
  19. package/dist-types/commands/GetAddonInstanceCommand.d.ts +1 -0
  20. package/dist-types/commands/GetAddonSubscriptionCommand.d.ts +1 -0
  21. package/dist-types/commands/GetAddressListCommand.d.ts +1 -0
  22. package/dist-types/commands/GetAddressListImportJobCommand.d.ts +1 -0
  23. package/dist-types/commands/GetArchiveCommand.d.ts +1 -0
  24. package/dist-types/commands/GetArchiveExportCommand.d.ts +1 -0
  25. package/dist-types/commands/GetArchiveMessageCommand.d.ts +1 -0
  26. package/dist-types/commands/GetArchiveMessageContentCommand.d.ts +1 -0
  27. package/dist-types/commands/GetArchiveSearchCommand.d.ts +1 -0
  28. package/dist-types/commands/GetArchiveSearchResultsCommand.d.ts +1 -0
  29. package/dist-types/commands/GetIngressPointCommand.d.ts +44 -0
  30. package/dist-types/commands/GetMemberOfAddressListCommand.d.ts +1 -0
  31. package/dist-types/commands/GetRelayCommand.d.ts +1 -0
  32. package/dist-types/commands/GetRuleSetCommand.d.ts +1 -0
  33. package/dist-types/commands/GetTrafficPolicyCommand.d.ts +39 -0
  34. package/dist-types/commands/ListAddonInstancesCommand.d.ts +1 -0
  35. package/dist-types/commands/ListAddonSubscriptionsCommand.d.ts +1 -0
  36. package/dist-types/commands/ListAddressListImportJobsCommand.d.ts +1 -0
  37. package/dist-types/commands/ListAddressListsCommand.d.ts +1 -0
  38. package/dist-types/commands/ListArchiveExportsCommand.d.ts +1 -0
  39. package/dist-types/commands/ListArchiveSearchesCommand.d.ts +1 -0
  40. package/dist-types/commands/ListArchivesCommand.d.ts +1 -0
  41. package/dist-types/commands/ListIngressPointsCommand.d.ts +68 -0
  42. package/dist-types/commands/ListMembersOfAddressListCommand.d.ts +1 -0
  43. package/dist-types/commands/ListRelaysCommand.d.ts +1 -0
  44. package/dist-types/commands/ListRuleSetsCommand.d.ts +1 -0
  45. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -0
  46. package/dist-types/commands/ListTrafficPoliciesCommand.d.ts +62 -0
  47. package/dist-types/commands/RegisterMemberToAddressListCommand.d.ts +1 -0
  48. package/dist-types/commands/StartAddressListImportJobCommand.d.ts +1 -0
  49. package/dist-types/commands/StartArchiveExportCommand.d.ts +1 -0
  50. package/dist-types/commands/StartArchiveSearchCommand.d.ts +1 -0
  51. package/dist-types/commands/StopAddressListImportJobCommand.d.ts +1 -0
  52. package/dist-types/commands/StopArchiveExportCommand.d.ts +1 -0
  53. package/dist-types/commands/StopArchiveSearchCommand.d.ts +1 -0
  54. package/dist-types/commands/TagResourceCommand.d.ts +1 -0
  55. package/dist-types/commands/UntagResourceCommand.d.ts +1 -0
  56. package/dist-types/commands/UpdateArchiveCommand.d.ts +1 -0
  57. package/dist-types/commands/UpdateIngressPointCommand.d.ts +62 -0
  58. package/dist-types/commands/UpdateRelayCommand.d.ts +1 -0
  59. package/dist-types/commands/UpdateRuleSetCommand.d.ts +1 -0
  60. package/dist-types/commands/UpdateTrafficPolicyCommand.d.ts +61 -0
  61. package/package.json +2 -2
@@ -75,6 +75,7 @@ declare const CreateAddonInstanceCommand_base: {
75
75
  * @throws {@link MailManagerServiceException}
76
76
  * <p>Base exception class for all service exceptions from MailManager service.</p>
77
77
  *
78
+ *
78
79
  * @public
79
80
  */
80
81
  export declare class CreateAddonInstanceCommand extends CreateAddonInstanceCommand_base {
@@ -72,6 +72,7 @@ declare const CreateAddonSubscriptionCommand_base: {
72
72
  * @throws {@link MailManagerServiceException}
73
73
  * <p>Base exception class for all service exceptions from MailManager service.</p>
74
74
  *
75
+ *
75
76
  * @public
76
77
  */
77
78
  export declare class CreateAddonSubscriptionCommand extends CreateAddonSubscriptionCommand_base {
@@ -76,6 +76,7 @@ declare const CreateAddressListCommand_base: {
76
76
  * @throws {@link MailManagerServiceException}
77
77
  * <p>Base exception class for all service exceptions from MailManager service.</p>
78
78
  *
79
+ *
79
80
  * @public
80
81
  */
81
82
  export declare class CreateAddressListCommand extends CreateAddressListCommand_base {
@@ -72,6 +72,7 @@ declare const CreateAddressListImportJobCommand_base: {
72
72
  * @throws {@link MailManagerServiceException}
73
73
  * <p>Base exception class for all service exceptions from MailManager service.</p>
74
74
  *
75
+ *
75
76
  * @public
76
77
  */
77
78
  export declare class CreateAddressListImportJobCommand extends CreateAddressListImportJobCommand_base {
@@ -80,6 +80,7 @@ declare const CreateArchiveCommand_base: {
80
80
  * @throws {@link MailManagerServiceException}
81
81
  * <p>Base exception class for all service exceptions from MailManager service.</p>
82
82
  *
83
+ *
83
84
  * @public
84
85
  */
85
86
  export declare class CreateArchiveCommand extends CreateArchiveCommand_base {
@@ -77,6 +77,85 @@ declare const CreateIngressPointCommand_base: {
77
77
  * @throws {@link MailManagerServiceException}
78
78
  * <p>Base exception class for all service exceptions from MailManager service.</p>
79
79
  *
80
+ *
81
+ * @example Create Open IngressPoint
82
+ * ```javascript
83
+ * //
84
+ * const input = {
85
+ * IngressPointName: "ingressPointName",
86
+ * RuleSetId: "rs-12345",
87
+ * Tags: [
88
+ * {
89
+ * Key: "key",
90
+ * Value: "value"
91
+ * }
92
+ * ],
93
+ * TrafficPolicyId: "tp-12345",
94
+ * Type: "OPEN"
95
+ * };
96
+ * const command = new CreateIngressPointCommand(input);
97
+ * const response = await client.send(command);
98
+ * /* response is
99
+ * {
100
+ * IngressPointId: "inp-12345"
101
+ * }
102
+ * *\/
103
+ * ```
104
+ *
105
+ * @example Create Auth IngressPoint with Password
106
+ * ```javascript
107
+ * //
108
+ * const input = {
109
+ * IngressPointConfiguration: {
110
+ * SmtpPassword: "smtpPassword"
111
+ * },
112
+ * IngressPointName: "ingressPointName",
113
+ * RuleSetId: "rs-12345",
114
+ * Tags: [
115
+ * {
116
+ * Key: "key",
117
+ * Value: "value"
118
+ * }
119
+ * ],
120
+ * TrafficPolicyId: "tp-12345",
121
+ * Type: "AUTH"
122
+ * };
123
+ * const command = new CreateIngressPointCommand(input);
124
+ * const response = await client.send(command);
125
+ * /* response is
126
+ * {
127
+ * IngressPointId: "inp-12345"
128
+ * }
129
+ * *\/
130
+ * ```
131
+ *
132
+ * @example Create Auth IngressPoint with SecretsManager Secret
133
+ * ```javascript
134
+ * //
135
+ * const input = {
136
+ * IngressPointConfiguration: {
137
+ * SecretArn: "arn:aws:secretsmanager:us-west-2:123456789012:secret:abcde"
138
+ * },
139
+ * IngressPointName: "ingressPointName",
140
+ * RuleSetId: "rs-12345",
141
+ * Tags: [
142
+ * {
143
+ * Key: "key",
144
+ * Value: "value"
145
+ * }
146
+ * ],
147
+ * TrafficPolicyId: "tp-12345",
148
+ * Type: "AUTH"
149
+ * };
150
+ * const command = new CreateIngressPointCommand(input);
151
+ * const response = await client.send(command);
152
+ * /* response is
153
+ * {
154
+ * IngressPointId: "inp-12345"
155
+ * }
156
+ * *\/
157
+ * ```
158
+ *
80
159
  * @public
81
160
  */
82
161
  export declare class CreateIngressPointCommand extends CreateIngressPointCommand_base {
@@ -77,6 +77,7 @@ declare const CreateRelayCommand_base: {
77
77
  * @throws {@link MailManagerServiceException}
78
78
  * <p>Base exception class for all service exceptions from MailManager service.</p>
79
79
  *
80
+ *
80
81
  * @public
81
82
  */
82
83
  export declare class CreateRelayCommand extends CreateRelayCommand_base {
@@ -255,6 +255,7 @@ declare const CreateRuleSetCommand_base: {
255
255
  * @throws {@link MailManagerServiceException}
256
256
  * <p>Base exception class for all service exceptions from MailManager service.</p>
257
257
  *
258
+ *
258
259
  * @public
259
260
  */
260
261
  export declare class CreateRuleSetCommand extends CreateRuleSetCommand_base {
@@ -125,6 +125,41 @@ declare const CreateTrafficPolicyCommand_base: {
125
125
  * @throws {@link MailManagerServiceException}
126
126
  * <p>Base exception class for all service exceptions from MailManager service.</p>
127
127
  *
128
+ *
129
+ * @example Create TrafficPolicy
130
+ * ```javascript
131
+ * //
132
+ * const input = {
133
+ * DefaultAction: "DENY",
134
+ * PolicyStatements: [
135
+ * {
136
+ * Action: "ALLOW",
137
+ * Conditions: [
138
+ * {
139
+ * IpExpression: {
140
+ * Evaluate: {
141
+ * Attribute: "SENDER_IP"
142
+ * },
143
+ * Operator: "CIDR_MATCHES",
144
+ * Values: [
145
+ * "0.0.0.0/12"
146
+ * ]
147
+ * }
148
+ * }
149
+ * ]
150
+ * }
151
+ * ],
152
+ * TrafficPolicyName: "trafficPolicyName"
153
+ * };
154
+ * const command = new CreateTrafficPolicyCommand(input);
155
+ * const response = await client.send(command);
156
+ * /* response is
157
+ * {
158
+ * TrafficPolicyId: "tp-13245"
159
+ * }
160
+ * *\/
161
+ * ```
162
+ *
128
163
  * @public
129
164
  */
130
165
  export declare class CreateTrafficPolicyCommand extends CreateTrafficPolicyCommand_base {
@@ -58,6 +58,7 @@ declare const DeleteAddonInstanceCommand_base: {
58
58
  * @throws {@link MailManagerServiceException}
59
59
  * <p>Base exception class for all service exceptions from MailManager service.</p>
60
60
  *
61
+ *
61
62
  * @public
62
63
  */
63
64
  export declare class DeleteAddonInstanceCommand extends DeleteAddonInstanceCommand_base {
@@ -58,6 +58,7 @@ declare const DeleteAddonSubscriptionCommand_base: {
58
58
  * @throws {@link MailManagerServiceException}
59
59
  * <p>Base exception class for all service exceptions from MailManager service.</p>
60
60
  *
61
+ *
61
62
  * @public
62
63
  */
63
64
  export declare class DeleteAddonSubscriptionCommand extends DeleteAddonSubscriptionCommand_base {
@@ -61,6 +61,7 @@ declare const DeleteAddressListCommand_base: {
61
61
  * @throws {@link MailManagerServiceException}
62
62
  * <p>Base exception class for all service exceptions from MailManager service.</p>
63
63
  *
64
+ *
64
65
  * @public
65
66
  */
66
67
  export declare class DeleteAddressListCommand extends DeleteAddressListCommand_base {
@@ -68,6 +68,7 @@ declare const DeleteArchiveCommand_base: {
68
68
  * @throws {@link MailManagerServiceException}
69
69
  * <p>Base exception class for all service exceptions from MailManager service.</p>
70
70
  *
71
+ *
71
72
  * @public
72
73
  */
73
74
  export declare class DeleteArchiveCommand extends DeleteArchiveCommand_base {
@@ -61,6 +61,20 @@ declare const DeleteIngressPointCommand_base: {
61
61
  * @throws {@link MailManagerServiceException}
62
62
  * <p>Base exception class for all service exceptions from MailManager service.</p>
63
63
  *
64
+ *
65
+ * @example Delete IngressPoint
66
+ * ```javascript
67
+ * //
68
+ * const input = {
69
+ * IngressPointId: "inp-12345"
70
+ * };
71
+ * const command = new DeleteIngressPointCommand(input);
72
+ * const response = await client.send(command);
73
+ * /* response is
74
+ * { /* empty *\/ }
75
+ * *\/
76
+ * ```
77
+ *
64
78
  * @public
65
79
  */
66
80
  export declare class DeleteIngressPointCommand extends DeleteIngressPointCommand_base {
@@ -61,6 +61,7 @@ declare const DeleteRelayCommand_base: {
61
61
  * @throws {@link MailManagerServiceException}
62
62
  * <p>Base exception class for all service exceptions from MailManager service.</p>
63
63
  *
64
+ *
64
65
  * @public
65
66
  */
66
67
  export declare class DeleteRelayCommand extends DeleteRelayCommand_base {
@@ -58,6 +58,7 @@ declare const DeleteRuleSetCommand_base: {
58
58
  * @throws {@link MailManagerServiceException}
59
59
  * <p>Base exception class for all service exceptions from MailManager service.</p>
60
60
  *
61
+ *
61
62
  * @public
62
63
  */
63
64
  export declare class DeleteRuleSetCommand extends DeleteRuleSetCommand_base {
@@ -61,6 +61,20 @@ declare const DeleteTrafficPolicyCommand_base: {
61
61
  * @throws {@link MailManagerServiceException}
62
62
  * <p>Base exception class for all service exceptions from MailManager service.</p>
63
63
  *
64
+ *
65
+ * @example Delete TrafficPolicy
66
+ * ```javascript
67
+ * //
68
+ * const input = {
69
+ * TrafficPolicyId: "tp-12345"
70
+ * };
71
+ * const command = new DeleteTrafficPolicyCommand(input);
72
+ * const response = await client.send(command);
73
+ * /* response is
74
+ * { /* empty *\/ }
75
+ * *\/
76
+ * ```
77
+ *
64
78
  * @public
65
79
  */
66
80
  export declare class DeleteTrafficPolicyCommand extends DeleteTrafficPolicyCommand_base {
@@ -65,6 +65,7 @@ declare const DeregisterMemberFromAddressListCommand_base: {
65
65
  * @throws {@link MailManagerServiceException}
66
66
  * <p>Base exception class for all service exceptions from MailManager service.</p>
67
67
  *
68
+ *
68
69
  * @public
69
70
  */
70
71
  export declare class DeregisterMemberFromAddressListCommand extends DeregisterMemberFromAddressListCommand_base {
@@ -63,6 +63,7 @@ declare const GetAddonInstanceCommand_base: {
63
63
  * @throws {@link MailManagerServiceException}
64
64
  * <p>Base exception class for all service exceptions from MailManager service.</p>
65
65
  *
66
+ *
66
67
  * @public
67
68
  */
68
69
  export declare class GetAddonInstanceCommand extends GetAddonInstanceCommand_base {
@@ -62,6 +62,7 @@ declare const GetAddonSubscriptionCommand_base: {
62
62
  * @throws {@link MailManagerServiceException}
63
63
  * <p>Base exception class for all service exceptions from MailManager service.</p>
64
64
  *
65
+ *
65
66
  * @public
66
67
  */
67
68
  export declare class GetAddonSubscriptionCommand extends GetAddonSubscriptionCommand_base {
@@ -70,6 +70,7 @@ declare const GetAddressListCommand_base: {
70
70
  * @throws {@link MailManagerServiceException}
71
71
  * <p>Base exception class for all service exceptions from MailManager service.</p>
72
72
  *
73
+ *
73
74
  * @public
74
75
  */
75
76
  export declare class GetAddressListCommand extends GetAddressListCommand_base {
@@ -79,6 +79,7 @@ declare const GetAddressListImportJobCommand_base: {
79
79
  * @throws {@link MailManagerServiceException}
80
80
  * <p>Base exception class for all service exceptions from MailManager service.</p>
81
81
  *
82
+ *
82
83
  * @public
83
84
  */
84
85
  export declare class GetAddressListImportJobCommand extends GetAddressListImportJobCommand_base {
@@ -75,6 +75,7 @@ declare const GetArchiveCommand_base: {
75
75
  * @throws {@link MailManagerServiceException}
76
76
  * <p>Base exception class for all service exceptions from MailManager service.</p>
77
77
  *
78
+ *
78
79
  * @public
79
80
  */
80
81
  export declare class GetArchiveCommand extends GetArchiveCommand_base {
@@ -117,6 +117,7 @@ declare const GetArchiveExportCommand_base: {
117
117
  * @throws {@link MailManagerServiceException}
118
118
  * <p>Base exception class for all service exceptions from MailManager service.</p>
119
119
  *
120
+ *
120
121
  * @public
121
122
  */
122
123
  export declare class GetArchiveExportCommand extends GetArchiveExportCommand_base {
@@ -87,6 +87,7 @@ declare const GetArchiveMessageCommand_base: {
87
87
  * @throws {@link MailManagerServiceException}
88
88
  * <p>Base exception class for all service exceptions from MailManager service.</p>
89
89
  *
90
+ *
90
91
  * @public
91
92
  */
92
93
  export declare class GetArchiveMessageCommand extends GetArchiveMessageCommand_base {
@@ -69,6 +69,7 @@ declare const GetArchiveMessageContentCommand_base: {
69
69
  * @throws {@link MailManagerServiceException}
70
70
  * <p>Base exception class for all service exceptions from MailManager service.</p>
71
71
  *
72
+ *
72
73
  * @public
73
74
  */
74
75
  export declare class GetArchiveMessageContentCommand extends GetArchiveMessageContentCommand_base {
@@ -112,6 +112,7 @@ declare const GetArchiveSearchCommand_base: {
112
112
  * @throws {@link MailManagerServiceException}
113
113
  * <p>Base exception class for all service exceptions from MailManager service.</p>
114
114
  *
115
+ *
115
116
  * @public
116
117
  */
117
118
  export declare class GetArchiveSearchCommand extends GetArchiveSearchCommand_base {
@@ -96,6 +96,7 @@ declare const GetArchiveSearchResultsCommand_base: {
96
96
  * @throws {@link MailManagerServiceException}
97
97
  * <p>Base exception class for all service exceptions from MailManager service.</p>
98
98
  *
99
+ *
99
100
  * @public
100
101
  */
101
102
  export declare class GetArchiveSearchResultsCommand extends GetArchiveSearchResultsCommand_base {
@@ -77,6 +77,50 @@ declare const GetIngressPointCommand_base: {
77
77
  * @throws {@link MailManagerServiceException}
78
78
  * <p>Base exception class for all service exceptions from MailManager service.</p>
79
79
  *
80
+ *
81
+ * @example Get Open IngressPoint
82
+ * ```javascript
83
+ * //
84
+ * const input = {
85
+ * IngressPointId: "inp-12345"
86
+ * };
87
+ * const command = new GetIngressPointCommand(input);
88
+ * const response = await client.send(command);
89
+ * /* response is
90
+ * {
91
+ * ARecord: "abcde123.prod.us-east-1.email-border.ses.aws.a2z.com",
92
+ * IngressPointArn: "arn:aws:ses:us-east-1:123456789012:mailmanager-ingress-point/inp-12345",
93
+ * IngressPointId: "inp-12345",
94
+ * IngressPointName: "ingressPointName",
95
+ * Status: "ACTIVE",
96
+ * Type: "OPEN"
97
+ * }
98
+ * *\/
99
+ * ```
100
+ *
101
+ * @example Get Auth IngressPoint
102
+ * ```javascript
103
+ * //
104
+ * const input = {
105
+ * IngressPointId: "inp-12345"
106
+ * };
107
+ * const command = new GetIngressPointCommand(input);
108
+ * const response = await client.send(command);
109
+ * /* response is
110
+ * {
111
+ * ARecord: "abcde123.prod.us-east-1.email-border.ses.aws.a2z.com",
112
+ * IngressPointArn: "arn:aws:ses:us-east-1:123456789012:mailmanager-ingress-point/inp-12345",
113
+ * IngressPointAuthConfiguration: {
114
+ * SecretArn: "arn:aws:secretsmanager:us-west-2:123456789012:secret:abcde"
115
+ * },
116
+ * IngressPointId: "inp-12345",
117
+ * IngressPointName: "ingressPointName",
118
+ * Status: "ACTIVE",
119
+ * Type: "AUTH"
120
+ * }
121
+ * *\/
122
+ * ```
123
+ *
80
124
  * @public
81
125
  */
82
126
  export declare class GetIngressPointCommand extends GetIngressPointCommand_base {
@@ -68,6 +68,7 @@ declare const GetMemberOfAddressListCommand_base: {
68
68
  * @throws {@link MailManagerServiceException}
69
69
  * <p>Base exception class for all service exceptions from MailManager service.</p>
70
70
  *
71
+ *
71
72
  * @public
72
73
  */
73
74
  export declare class GetMemberOfAddressListCommand extends GetMemberOfAddressListCommand_base {
@@ -70,6 +70,7 @@ declare const GetRelayCommand_base: {
70
70
  * @throws {@link MailManagerServiceException}
71
71
  * <p>Base exception class for all service exceptions from MailManager service.</p>
72
72
  *
73
+ *
73
74
  * @public
74
75
  */
75
76
  export declare class GetRelayCommand extends GetRelayCommand_base {
@@ -249,6 +249,7 @@ declare const GetRuleSetCommand_base: {
249
249
  * @throws {@link MailManagerServiceException}
250
250
  * <p>Base exception class for all service exceptions from MailManager service.</p>
251
251
  *
252
+ *
252
253
  * @public
253
254
  */
254
255
  export declare class GetRuleSetCommand extends GetRuleSetCommand_base {
@@ -119,6 +119,45 @@ declare const GetTrafficPolicyCommand_base: {
119
119
  * @throws {@link MailManagerServiceException}
120
120
  * <p>Base exception class for all service exceptions from MailManager service.</p>
121
121
  *
122
+ *
123
+ * @example Get TrafficPolicy
124
+ * ```javascript
125
+ * //
126
+ * const input = {
127
+ * TrafficPolicyId: "tp-12345"
128
+ * };
129
+ * const command = new GetTrafficPolicyCommand(input);
130
+ * const response = await client.send(command);
131
+ * /* response is
132
+ * {
133
+ * DefaultAction: "DENY",
134
+ * MaxMessageSizeBytes: 1000,
135
+ * PolicyStatements: [
136
+ * {
137
+ * Action: "ALLOW",
138
+ * Conditions: [
139
+ * {
140
+ * StringExpression: {
141
+ * Evaluate: {
142
+ * Attribute: "RECIPIENT"
143
+ * },
144
+ * Operator: "EQUALS",
145
+ * Values: [
146
+ * "example@amazon.com",
147
+ * "example@gmail.com"
148
+ * ]
149
+ * }
150
+ * }
151
+ * ]
152
+ * }
153
+ * ],
154
+ * TrafficPolicyArn: "arn:aws:ses:us-east-1:123456789012:mailmanager-traffic-policy/tp-12345",
155
+ * TrafficPolicyId: "tp-12345",
156
+ * TrafficPolicyName: "trafficPolicyName"
157
+ * }
158
+ * *\/
159
+ * ```
160
+ *
122
161
  * @public
123
162
  */
124
163
  export declare class GetTrafficPolicyCommand extends GetTrafficPolicyCommand_base {
@@ -67,6 +67,7 @@ declare const ListAddonInstancesCommand_base: {
67
67
  * @throws {@link MailManagerServiceException}
68
68
  * <p>Base exception class for all service exceptions from MailManager service.</p>
69
69
  *
70
+ *
70
71
  * @public
71
72
  */
72
73
  export declare class ListAddonInstancesCommand extends ListAddonInstancesCommand_base {
@@ -66,6 +66,7 @@ declare const ListAddonSubscriptionsCommand_base: {
66
66
  * @throws {@link MailManagerServiceException}
67
67
  * <p>Base exception class for all service exceptions from MailManager service.</p>
68
68
  *
69
+ *
69
70
  * @public
70
71
  */
71
72
  export declare class ListAddonSubscriptionsCommand extends ListAddonSubscriptionsCommand_base {
@@ -86,6 +86,7 @@ declare const ListAddressListImportJobsCommand_base: {
86
86
  * @throws {@link MailManagerServiceException}
87
87
  * <p>Base exception class for all service exceptions from MailManager service.</p>
88
88
  *
89
+ *
89
90
  * @public
90
91
  */
91
92
  export declare class ListAddressListImportJobsCommand extends ListAddressListImportJobsCommand_base {
@@ -73,6 +73,7 @@ declare const ListAddressListsCommand_base: {
73
73
  * @throws {@link MailManagerServiceException}
74
74
  * <p>Base exception class for all service exceptions from MailManager service.</p>
75
75
  *
76
+ *
76
77
  * @public
77
78
  */
78
79
  export declare class ListAddressListsCommand extends ListAddressListsCommand_base {
@@ -79,6 +79,7 @@ declare const ListArchiveExportsCommand_base: {
79
79
  * @throws {@link MailManagerServiceException}
80
80
  * <p>Base exception class for all service exceptions from MailManager service.</p>
81
81
  *
82
+ *
82
83
  * @public
83
84
  */
84
85
  export declare class ListArchiveExportsCommand extends ListArchiveExportsCommand_base {
@@ -79,6 +79,7 @@ declare const ListArchiveSearchesCommand_base: {
79
79
  * @throws {@link MailManagerServiceException}
80
80
  * <p>Base exception class for all service exceptions from MailManager service.</p>
81
81
  *
82
+ *
82
83
  * @public
83
84
  */
84
85
  export declare class ListArchiveSearchesCommand extends ListArchiveSearchesCommand_base {
@@ -72,6 +72,7 @@ declare const ListArchivesCommand_base: {
72
72
  * @throws {@link MailManagerServiceException}
73
73
  * <p>Base exception class for all service exceptions from MailManager service.</p>
74
74
  *
75
+ *
75
76
  * @public
76
77
  */
77
78
  export declare class ListArchivesCommand extends ListArchivesCommand_base {
@@ -67,6 +67,74 @@ declare const ListIngressPointsCommand_base: {
67
67
  * @throws {@link MailManagerServiceException}
68
68
  * <p>Base exception class for all service exceptions from MailManager service.</p>
69
69
  *
70
+ *
71
+ * @example List IngressPoints
72
+ * ```javascript
73
+ * //
74
+ * const input = { /* empty *\/ };
75
+ * const command = new ListIngressPointsCommand(input);
76
+ * const response = await client.send(command);
77
+ * /* response is
78
+ * {
79
+ * IngressPoints: [
80
+ * {
81
+ * ARecord: "abcde123.prod.us-east-1.email-border.ses.aws.a2z.com",
82
+ * IngressPointId: "inp-12345",
83
+ * IngressPointName: "ingressPointName",
84
+ * Status: "ACTIVE",
85
+ * Type: "OPEN"
86
+ * }
87
+ * ]
88
+ * }
89
+ * *\/
90
+ * ```
91
+ *
92
+ * @example List IngressPoints with PageSize
93
+ * ```javascript
94
+ * //
95
+ * const input = {
96
+ * PageSize: 10
97
+ * };
98
+ * const command = new ListIngressPointsCommand(input);
99
+ * const response = await client.send(command);
100
+ * /* response is
101
+ * {
102
+ * IngressPoints: [
103
+ * {
104
+ * ARecord: "abcde123.prod.us-east-1.email-border.ses.aws.a2z.com",
105
+ * IngressPointId: "inp-12345",
106
+ * IngressPointName: "ingressPointName",
107
+ * Status: "ACTIVE",
108
+ * Type: "OPEN"
109
+ * }
110
+ * ]
111
+ * }
112
+ * *\/
113
+ * ```
114
+ *
115
+ * @example List IngressPoints with NextToken
116
+ * ```javascript
117
+ * //
118
+ * const input = {
119
+ * NextToken: "nextToken"
120
+ * };
121
+ * const command = new ListIngressPointsCommand(input);
122
+ * const response = await client.send(command);
123
+ * /* response is
124
+ * {
125
+ * IngressPoints: [
126
+ * {
127
+ * ARecord: "abcde123.prod.us-east-1.email-border.ses.aws.a2z.com",
128
+ * IngressPointId: "inp-12345",
129
+ * IngressPointName: "ingressPointName",
130
+ * Status: "ACTIVE",
131
+ * Type: "OPEN"
132
+ * }
133
+ * ]
134
+ * }
135
+ * *\/
136
+ * ```
137
+ *
70
138
  * @public
71
139
  */
72
140
  export declare class ListIngressPointsCommand extends ListIngressPointsCommand_base {
@@ -77,6 +77,7 @@ declare const ListMembersOfAddressListCommand_base: {
77
77
  * @throws {@link MailManagerServiceException}
78
78
  * <p>Base exception class for all service exceptions from MailManager service.</p>
79
79
  *
80
+ *
80
81
  * @public
81
82
  */
82
83
  export declare class ListMembersOfAddressListCommand extends ListMembersOfAddressListCommand_base {
@@ -65,6 +65,7 @@ declare const ListRelaysCommand_base: {
65
65
  * @throws {@link MailManagerServiceException}
66
66
  * <p>Base exception class for all service exceptions from MailManager service.</p>
67
67
  *
68
+ *
68
69
  * @public
69
70
  */
70
71
  export declare class ListRelaysCommand extends ListRelaysCommand_base {
@@ -65,6 +65,7 @@ declare const ListRuleSetsCommand_base: {
65
65
  * @throws {@link MailManagerServiceException}
66
66
  * <p>Base exception class for all service exceptions from MailManager service.</p>
67
67
  *
68
+ *
68
69
  * @public
69
70
  */
70
71
  export declare class ListRuleSetsCommand extends ListRuleSetsCommand_base {
@@ -65,6 +65,7 @@ declare const ListTagsForResourceCommand_base: {
65
65
  * @throws {@link MailManagerServiceException}
66
66
  * <p>Base exception class for all service exceptions from MailManager service.</p>
67
67
  *
68
+ *
68
69
  * @public
69
70
  */
70
71
  export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
@@ -65,6 +65,68 @@ declare const ListTrafficPoliciesCommand_base: {
65
65
  * @throws {@link MailManagerServiceException}
66
66
  * <p>Base exception class for all service exceptions from MailManager service.</p>
67
67
  *
68
+ *
69
+ * @example List TrafficPolicies
70
+ * ```javascript
71
+ * //
72
+ * const input = { /* empty *\/ };
73
+ * const command = new ListTrafficPoliciesCommand(input);
74
+ * const response = await client.send(command);
75
+ * /* response is
76
+ * {
77
+ * TrafficPolicies: [
78
+ * {
79
+ * DefaultAction: "DENY",
80
+ * TrafficPolicyId: "tp-12345",
81
+ * TrafficPolicyName: "trafficPolicyName"
82
+ * }
83
+ * ]
84
+ * }
85
+ * *\/
86
+ * ```
87
+ *
88
+ * @example List TrafficPolicies with PageSize
89
+ * ```javascript
90
+ * //
91
+ * const input = {
92
+ * PageSize: 10
93
+ * };
94
+ * const command = new ListTrafficPoliciesCommand(input);
95
+ * const response = await client.send(command);
96
+ * /* response is
97
+ * {
98
+ * TrafficPolicies: [
99
+ * {
100
+ * DefaultAction: "DENY",
101
+ * TrafficPolicyId: "tp-12345",
102
+ * TrafficPolicyName: "trafficPolicyName"
103
+ * }
104
+ * ]
105
+ * }
106
+ * *\/
107
+ * ```
108
+ *
109
+ * @example List TrafficPolicies with NextToken
110
+ * ```javascript
111
+ * //
112
+ * const input = {
113
+ * NextToken: "nextToken"
114
+ * };
115
+ * const command = new ListTrafficPoliciesCommand(input);
116
+ * const response = await client.send(command);
117
+ * /* response is
118
+ * {
119
+ * TrafficPolicies: [
120
+ * {
121
+ * DefaultAction: "DENY",
122
+ * TrafficPolicyId: "tp-12345",
123
+ * TrafficPolicyName: "trafficPolicyName"
124
+ * }
125
+ * ]
126
+ * }
127
+ * *\/
128
+ * ```
129
+ *
68
130
  * @public
69
131
  */
70
132
  export declare class ListTrafficPoliciesCommand extends ListTrafficPoliciesCommand_base {
@@ -68,6 +68,7 @@ declare const RegisterMemberToAddressListCommand_base: {
68
68
  * @throws {@link MailManagerServiceException}
69
69
  * <p>Base exception class for all service exceptions from MailManager service.</p>
70
70
  *
71
+ *
71
72
  * @public
72
73
  */
73
74
  export declare class RegisterMemberToAddressListCommand extends RegisterMemberToAddressListCommand_base {
@@ -70,6 +70,7 @@ declare const StartAddressListImportJobCommand_base: {
70
70
  * @throws {@link MailManagerServiceException}
71
71
  * <p>Base exception class for all service exceptions from MailManager service.</p>
72
72
  *
73
+ *
73
74
  * @public
74
75
  */
75
76
  export declare class StartAddressListImportJobCommand extends StartAddressListImportJobCommand_base {
@@ -118,6 +118,7 @@ declare const StartArchiveExportCommand_base: {
118
118
  * @throws {@link MailManagerServiceException}
119
119
  * <p>Base exception class for all service exceptions from MailManager service.</p>
120
120
  *
121
+ *
121
122
  * @public
122
123
  */
123
124
  export declare class StartArchiveExportCommand extends StartArchiveExportCommand_base {
@@ -115,6 +115,7 @@ declare const StartArchiveSearchCommand_base: {
115
115
  * @throws {@link MailManagerServiceException}
116
116
  * <p>Base exception class for all service exceptions from MailManager service.</p>
117
117
  *
118
+ *
118
119
  * @public
119
120
  */
120
121
  export declare class StartArchiveSearchCommand extends StartArchiveSearchCommand_base {
@@ -67,6 +67,7 @@ declare const StopAddressListImportJobCommand_base: {
67
67
  * @throws {@link MailManagerServiceException}
68
68
  * <p>Base exception class for all service exceptions from MailManager service.</p>
69
69
  *
70
+ *
70
71
  * @public
71
72
  */
72
73
  export declare class StopAddressListImportJobCommand extends StopAddressListImportJobCommand_base {
@@ -61,6 +61,7 @@ declare const StopArchiveExportCommand_base: {
61
61
  * @throws {@link MailManagerServiceException}
62
62
  * <p>Base exception class for all service exceptions from MailManager service.</p>
63
63
  *
64
+ *
64
65
  * @public
65
66
  */
66
67
  export declare class StopArchiveExportCommand extends StopArchiveExportCommand_base {
@@ -61,6 +61,7 @@ declare const StopArchiveSearchCommand_base: {
61
61
  * @throws {@link MailManagerServiceException}
62
62
  * <p>Base exception class for all service exceptions from MailManager service.</p>
63
63
  *
64
+ *
64
65
  * @public
65
66
  */
66
67
  export declare class StopArchiveSearchCommand extends StopArchiveSearchCommand_base {
@@ -70,6 +70,7 @@ declare const TagResourceCommand_base: {
70
70
  * @throws {@link MailManagerServiceException}
71
71
  * <p>Base exception class for all service exceptions from MailManager service.</p>
72
72
  *
73
+ *
73
74
  * @public
74
75
  */
75
76
  export declare class TagResourceCommand extends TagResourceCommand_base {
@@ -64,6 +64,7 @@ declare const UntagResourceCommand_base: {
64
64
  * @throws {@link MailManagerServiceException}
65
65
  * <p>Base exception class for all service exceptions from MailManager service.</p>
66
66
  *
67
+ *
67
68
  * @public
68
69
  */
69
70
  export declare class UntagResourceCommand extends UntagResourceCommand_base {
@@ -74,6 +74,7 @@ declare const UpdateArchiveCommand_base: {
74
74
  * @throws {@link MailManagerServiceException}
75
75
  * <p>Base exception class for all service exceptions from MailManager service.</p>
76
76
  *
77
+ *
77
78
  * @public
78
79
  */
79
80
  export declare class UpdateArchiveCommand extends UpdateArchiveCommand_base {
@@ -69,6 +69,68 @@ declare const UpdateIngressPointCommand_base: {
69
69
  * @throws {@link MailManagerServiceException}
70
70
  * <p>Base exception class for all service exceptions from MailManager service.</p>
71
71
  *
72
+ *
73
+ * @example Update Open/Auth IngressPoint with new Name
74
+ * ```javascript
75
+ * //
76
+ * const input = {
77
+ * IngressPointId: "inp-12345",
78
+ * IngressPointName: "ingressPointNewName"
79
+ * };
80
+ * const command = new UpdateIngressPointCommand(input);
81
+ * const response = await client.send(command);
82
+ * /* response is
83
+ * { /* empty *\/ }
84
+ * *\/
85
+ * ```
86
+ *
87
+ * @example Update Open/Auth IngressPoint with new RuleSetId / TrafficPolicyId
88
+ * ```javascript
89
+ * //
90
+ * const input = {
91
+ * IngressPointId: "inp-12345",
92
+ * RuleSetId: "rs-12345",
93
+ * TrafficPolicyId: "tp-12345"
94
+ * };
95
+ * const command = new UpdateIngressPointCommand(input);
96
+ * const response = await client.send(command);
97
+ * /* response is
98
+ * { /* empty *\/ }
99
+ * *\/
100
+ * ```
101
+ *
102
+ * @example Update Auth IngressPoint with new SmtpPassword
103
+ * ```javascript
104
+ * //
105
+ * const input = {
106
+ * IngressPointConfiguration: {
107
+ * SmtpPassword: "newSmtpPassword"
108
+ * },
109
+ * IngressPointId: "inp-12345"
110
+ * };
111
+ * const command = new UpdateIngressPointCommand(input);
112
+ * const response = await client.send(command);
113
+ * /* response is
114
+ * { /* empty *\/ }
115
+ * *\/
116
+ * ```
117
+ *
118
+ * @example Update Auth IngressPoint with new SecretArn
119
+ * ```javascript
120
+ * //
121
+ * const input = {
122
+ * IngressPointConfiguration: {
123
+ * SecretArn: "arn:aws:secretsmanager:us-west-2:123456789012:secret:abcde"
124
+ * },
125
+ * IngressPointId: "inp-12345"
126
+ * };
127
+ * const command = new UpdateIngressPointCommand(input);
128
+ * const response = await client.send(command);
129
+ * /* response is
130
+ * { /* empty *\/ }
131
+ * *\/
132
+ * ```
133
+ *
72
134
  * @public
73
135
  */
74
136
  export declare class UpdateIngressPointCommand extends UpdateIngressPointCommand_base {
@@ -68,6 +68,7 @@ declare const UpdateRelayCommand_base: {
68
68
  * @throws {@link MailManagerServiceException}
69
69
  * <p>Base exception class for all service exceptions from MailManager service.</p>
70
70
  *
71
+ *
71
72
  * @public
72
73
  */
73
74
  export declare class UpdateRelayCommand extends UpdateRelayCommand_base {
@@ -247,6 +247,7 @@ declare const UpdateRuleSetCommand_base: {
247
247
  * @throws {@link MailManagerServiceException}
248
248
  * <p>Base exception class for all service exceptions from MailManager service.</p>
249
249
  *
250
+ *
250
251
  * @public
251
252
  */
252
253
  export declare class UpdateRuleSetCommand extends UpdateRuleSetCommand_base {
@@ -117,6 +117,67 @@ declare const UpdateTrafficPolicyCommand_base: {
117
117
  * @throws {@link MailManagerServiceException}
118
118
  * <p>Base exception class for all service exceptions from MailManager service.</p>
119
119
  *
120
+ *
121
+ * @example Update TrafficPolicy with new Name
122
+ * ```javascript
123
+ * //
124
+ * const input = {
125
+ * TrafficPolicyId: "tp-12345",
126
+ * TrafficPolicyName: "trafficPolicyNewName"
127
+ * };
128
+ * const command = new UpdateTrafficPolicyCommand(input);
129
+ * const response = await client.send(command);
130
+ * /* response is
131
+ * { /* empty *\/ }
132
+ * *\/
133
+ * ```
134
+ *
135
+ * @example Update TrafficPolicy with new PolicyStatements
136
+ * ```javascript
137
+ * //
138
+ * const input = {
139
+ * PolicyStatements: [
140
+ * {
141
+ * Action: "ALLOW",
142
+ * Conditions: [
143
+ * {
144
+ * StringExpression: {
145
+ * Evaluate: {
146
+ * Attribute: "RECIPIENT"
147
+ * },
148
+ * Operator: "EQUALS",
149
+ * Values: [
150
+ * "example@amazon.com",
151
+ * "example@gmail.com"
152
+ * ]
153
+ * }
154
+ * }
155
+ * ]
156
+ * }
157
+ * ],
158
+ * TrafficPolicyId: "tp-12345"
159
+ * };
160
+ * const command = new UpdateTrafficPolicyCommand(input);
161
+ * const response = await client.send(command);
162
+ * /* response is
163
+ * { /* empty *\/ }
164
+ * *\/
165
+ * ```
166
+ *
167
+ * @example Update TrafficPolicy with new DefaultAction
168
+ * ```javascript
169
+ * //
170
+ * const input = {
171
+ * DefaultAction: "ALLOW",
172
+ * TrafficPolicyId: "tp-12345"
173
+ * };
174
+ * const command = new UpdateTrafficPolicyCommand(input);
175
+ * const response = await client.send(command);
176
+ * /* response is
177
+ * { /* empty *\/ }
178
+ * *\/
179
+ * ```
180
+ *
120
181
  * @public
121
182
  */
122
183
  export declare class UpdateTrafficPolicyCommand extends UpdateTrafficPolicyCommand_base {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-mailmanager",
3
3
  "description": "AWS SDK for JavaScript Mailmanager Client for Node.js, Browser and React Native",
4
- "version": "3.775.0",
4
+ "version": "3.777.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,7 +21,7 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.775.0",
24
- "@aws-sdk/credential-provider-node": "3.775.0",
24
+ "@aws-sdk/credential-provider-node": "3.777.0",
25
25
  "@aws-sdk/middleware-host-header": "3.775.0",
26
26
  "@aws-sdk/middleware-logger": "3.775.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.775.0",