accept_transit_gateway_multicast_domain_associations
async
¶
accept_transit_gateway_multicast_domain_associations(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
transit_gateway_multicast_domain_id: Optional[
TransitGatewayMulticastDomainId
] = None,
transit_gateway_attachment_id: Optional[TransitGatewayAttachmentId] = None,
subnet_ids: Optional[ValueStringList] = None,
dry_run: Optional[Boolean] = None,
) -> AcceptTransitGatewayMulticastDomainAssociationsResult
Accepts a request to associate subnets with a transit gateway multicast domain.
Parameters:
-
transit_gateway_multicast_domain_id(Optional[TransitGatewayMulticastDomainId], default:None) –The ID of the transit gateway multicast domain.
-
transit_gateway_attachment_id(Optional[TransitGatewayAttachmentId], default:None) –The ID of the transit gateway attachment.
-
subnet_ids(Optional[ValueStringList], default:None) –The IDs of the subnets to associate with the transit gateway multicast domain.
-
dry_run(Optional[Boolean], default:None) –Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isUnauthorizedOperation.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/async_ec2.py
2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 | |