How to use advertise_byoip_cidr method in localstack

Best Python code snippet using localstack_python

globalaccelerator.py

Source:globalaccelerator.py Github

copy

Full Screen

...16LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,17OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE18SOFTWARE.19'''20def advertise_byoip_cidr(Cidr=None):21 """22 Advertises an IPv4 address range that is provisioned for use with your AWS resources through bring your own IP addresses (BYOIP). It can take a few minutes before traffic to the specified addresses starts routing to AWS because of propagation delays. To see an AWS CLI example of advertising an address range, scroll down to Example .23 To stop advertising the BYOIP address range, use WithdrawByoipCidr .24 For more information, see Bring Your Own IP Addresses (BYOIP) in the AWS Global Accelerator Developer Guide .25 See also: AWS API Documentation26 27 Exceptions28 29 :example: response = client.advertise_byoip_cidr(30 Cidr='string'31 )32 33 34 :type Cidr: string35 :param Cidr: [REQUIRED]\nThe address range, in CIDR notation. This must be the exact range that you provisioned. You can\'t advertise only a portion of the provisioned range.\n36 :rtype: dict37ReturnsResponse Syntax{38 'ByoipCidr': {39 'Cidr': 'string',40 'State': 'PENDING_PROVISIONING'|'READY'|'PENDING_ADVERTISING'|'ADVERTISING'|'PENDING_WITHDRAWING'|'PENDING_DEPROVISIONING'|'DEPROVISIONED'|'FAILED_PROVISION'|'FAILED_ADVERTISING'|'FAILED_WITHDRAW'|'FAILED_DEPROVISION',41 'Events': [42 {43 'Message': 'string',...

Full Screen

Full Screen

client.pyi

Source:client.pyi Github

copy

Full Screen

...119 accelerator.120 [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/1.24.58/reference/services/globalaccelerator.html#GlobalAccelerator.Client.add_custom_routing_endpoints)121 [Show boto3-stubs documentation](https://vemel.github.io/boto3_stubs_docs/mypy_boto3_globalaccelerator/client.html#add_custom_routing_endpoints)122 """123 def advertise_byoip_cidr(self, *, Cidr: str) -> AdvertiseByoipCidrResponseTypeDef:124 """125 Advertises an IPv4 address range that is provisioned for use with your Amazon126 Web Services resources through bring your own IP addresses (BYOIP).127 [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/1.24.58/reference/services/globalaccelerator.html#GlobalAccelerator.Client.advertise_byoip_cidr)128 [Show boto3-stubs documentation](https://vemel.github.io/boto3_stubs_docs/mypy_boto3_globalaccelerator/client.html#advertise_byoip_cidr)129 """130 def allow_custom_routing_traffic(131 self,132 *,133 EndpointGroupArn: str,134 EndpointId: str,135 DestinationAddresses: List[str] = None,136 DestinationPorts: List[int] = None,137 AllowAllTrafficToEndpoint: bool = None...

Full Screen

Full Screen

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run localstack automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful