update_ingress_point
¶
update_ingress_point(
ingress_point_id: IngressPointId,
*,
config_overrides: Optional[MailManagerClientConfig] = None,
ingress_point_name: Optional[IngressPointName] = None,
status_to_update: Optional[IngressPointStatusToUpdate] = None,
rule_set_id: Optional[RuleSetId] = None,
traffic_policy_id: Optional[TrafficPolicyId] = None,
ingress_point_configuration: Optional[IngressPointConfiguration] = None,
tls_policy: Optional[TlsPolicy] = None,
) -> UpdateIngressPointResponse
Update attributes of a provisioned ingress endpoint resource.
Parameters:
-
ingress_point_id(IngressPointId) –The identifier for the ingress endpoint you want to update.
-
ingress_point_name(Optional[IngressPointName], default:None) –A user friendly name for the ingress endpoint resource.
-
status_to_update(Optional[IngressPointStatusToUpdate], default:None) –The update status of an ingress endpoint.
-
rule_set_id(Optional[RuleSetId], default:None) –The identifier of an existing rule set that you attach to an ingress endpoint resource.
-
traffic_policy_id(Optional[TrafficPolicyId], default:None) –The identifier of an existing traffic policy that you attach to an ingress endpoint resource.
-
ingress_point_configuration(Optional[IngressPointConfiguration], default:None) –If you choose an Authenticated ingress endpoint, you must configure either an SMTP password or a secret ARN.
-
tls_policy(Optional[TlsPolicy], default:None) –The Transport Layer Security (TLS) policy for the ingress point. Valid values are REQUIRED, OPTIONAL. Only ingress endpoints using REQUIRED or OPTIONAL as TlsPolicy can be updated.
Raises:
-
ConflictException–The request configuration has conflicts. For details, see the accompanying error message.
-
ResourceNotFoundException–Occurs when a requested resource is not found.
-
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.
Examples:
Update Open/Auth IngressPoint with new Name
>>> client.update_ingress_point(ingress_point_id='inp-12345', ingress_point_name='ingressPointNewName')
Update Open/Auth IngressPoint with new RuleSetId / TrafficPolicyId
>>> client.update_ingress_point(ingress_point_id='inp-12345', rule_set_id='rs-12345', traffic_policy_id='tp-12345')
Update Auth IngressPoint with new SmtpPassword
>>> client.update_ingress_point(ingress_point_id='inp-12345', ingress_point_configuration={'SmtpPassword': 'newSmtpPassword'})
Update Auth IngressPoint with new SecretArn
>>> client.update_ingress_point(ingress_point_id='inp-12345', ingress_point_configuration={'SecretArn': 'arn:aws:secretsmanager:us-west-2:123456789012:secret:abcde'})
Source code in docs_src/capo_mailmanager/_services/mail_manager.py
2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 | |