Best Python code snippet using localstack_python
client.pyi
Source:client.pyi
...4668 ) -> ModifyHostsResultTypeDef:4669 """4670 [Client.modify_hosts documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.modify_hosts)4671 """4672 def modify_id_format(self, Resource: str, UseLongIds: bool) -> None:4673 """4674 [Client.modify_id_format documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.modify_id_format)4675 """4676 def modify_identity_id_format(self, PrincipalArn: str, Resource: str, UseLongIds: bool) -> None:4677 """4678 [Client.modify_identity_id_format documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.modify_identity_id_format)4679 """4680 def modify_image_attribute(4681 self,4682 ImageId: str,4683 Attribute: str = None,4684 Description: "AttributeValueTypeDef" = None,4685 LaunchPermission: LaunchPermissionModificationsTypeDef = None,4686 OperationType: Literal["add", "remove"] = None,...
client.py
Source:client.py
...538 def modify_fpga_image_attribute(self, FpgaImageId: str, DryRun: bool = None, Attribute: str = None, OperationType: str = None, UserIds: List = None, UserGroups: List = None, ProductCodes: List = None, LoadPermission: Dict = None, Description: str = None, Name: str = None) -> Dict:539 pass540 def modify_hosts(self, AutoPlacement: str, HostIds: List) -> Dict:541 pass542 def modify_id_format(self, Resource: str, UseLongIds: bool):543 pass544 def modify_identity_id_format(self, PrincipalArn: str, Resource: str, UseLongIds: bool):545 pass546 def modify_image_attribute(self, ImageId: str, Attribute: str = None, Description: Dict = None, LaunchPermission: Dict = None, OperationType: str = None, ProductCodes: List = None, UserGroups: List = None, UserIds: List = None, Value: str = None, DryRun: bool = None):547 pass548 def modify_instance_attribute(self, InstanceId: str, SourceDestCheck: Dict = None, Attribute: str = None, BlockDeviceMappings: List = None, DisableApiTermination: Dict = None, DryRun: bool = None, EbsOptimized: Dict = None, EnaSupport: Dict = None, Groups: List = None, InstanceInitiatedShutdownBehavior: Dict = None, InstanceType: Dict = None, Kernel: Dict = None, Ramdisk: Dict = None, SriovNetSupport: Dict = None, UserData: Dict = None, Value: str = None):549 pass550 def modify_instance_capacity_reservation_attributes(self, InstanceId: str, CapacityReservationSpecification: Dict, DryRun: bool = None) -> Dict:551 pass552 def modify_instance_credit_specification(self, InstanceCreditSpecifications: List, DryRun: bool = None, ClientToken: str = None) -> Dict:553 pass554 def modify_instance_event_start_time(self, InstanceId: str, InstanceEventId: str, NotBefore: datetime, DryRun: bool = None) -> Dict:555 pass556 def modify_instance_placement(self, InstanceId: str, Affinity: str = None, GroupName: str = None, HostId: str = None, Tenancy: str = None, PartitionNumber: int = None) -> Dict:...
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.
You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.
Get 100 minutes of automation test minutes FREE!!