associate_transit_gateway_multicast_domain
¶
associate_transit_gateway_multicast_domain(
*,
config_overrides: Optional[EC2ClientConfig] = None,
transit_gateway_multicast_domain_id: Optional[
TransitGatewayMulticastDomainId
] = None,
transit_gateway_attachment_id: Optional[TransitGatewayAttachmentId] = None,
subnet_ids: Optional[TransitGatewaySubnetIdList] = None,
dry_run: Optional[Boolean] = None,
) -> AssociateTransitGatewayMulticastDomainResult
Associates the specified subnets and transit gateway attachments with the specified transit gateway multicast domain.
The transit gateway attachment must be in the available state before you can add a resource. Use DescribeTransitGatewayAttachments to see the state of the attachment.
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 to associate with the transit gateway multicast domain.
-
subnet_ids(Optional[TransitGatewaySubnetIdList], 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/ec2.py
4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 | |