create_addon_instance
async
¶
create_addon_instance(
addon_subscription_id: AddonSubscriptionId,
*,
config_overrides: Optional[AsyncMailManagerClientConfig] = None,
client_token: Optional[IdempotencyToken] = None,
tags: Optional[TagList] = None,
) -> CreateAddonInstanceResponse
Creates an Add On instance for the subscription indicated in the request. The resulting Amazon Resource Name (ARN) can be used in a conditional statement for a rule set or traffic policy.
Parameters:
-
client_token(Optional[IdempotencyToken], default:None) –A unique token that Amazon SES uses to recognize subsequent retries of the same request.
-
addon_subscription_id(AddonSubscriptionId) –The unique ID of a previously created subscription that an Add On instance is created for. You can only have one instance per subscription.
-
tags(Optional[TagList], default:None) –The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
Raises:
-
ConflictException–The request configuration has conflicts. For details, see the accompanying error message.
-
ResourceNotFoundException–Occurs when a requested resource is not found.
-
ServiceQuotaExceededException–Occurs when an operation exceeds a predefined service quota or limit.
-
ValidationException–The request validation has failed. For details, see the accompanying error message.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_mailmanager/_services/async_mail_manager.py
2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 | |