Best Python code snippet using localstack_python
client.pyi
Source:client.pyi  
...1190        (operative) version.1191        [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/1.24.58/reference/services/iam.html#IAM.Client.set_default_policy_version)1192        [Show boto3-stubs documentation](https://vemel.github.io/boto3_stubs_docs/mypy_boto3_iam/client.html#set_default_policy_version)1193        """1194    def set_security_token_service_preferences(1195        self, *, GlobalEndpointTokenVersion: globalEndpointTokenVersionType1196    ) -> None:1197        """1198        Sets the specified version of the global endpoint token as the token version1199        used for the Amazon Web Services account.1200        [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/1.24.58/reference/services/iam.html#IAM.Client.set_security_token_service_preferences)1201        [Show boto3-stubs documentation](https://vemel.github.io/boto3_stubs_docs/mypy_boto3_iam/client.html#set_security_token_service_preferences)1202        """1203    def simulate_custom_policy(1204        self,1205        *,1206        PolicyInputList: List[str],1207        ActionNames: List[str],1208        PermissionsBoundaryPolicyInputList: List[str] = None,...client.py
Source:client.py  
...241    def resync_mfa_device(self, UserName: str, SerialNumber: str, AuthenticationCode1: str, AuthenticationCode2: str):242        pass243    def set_default_policy_version(self, PolicyArn: str, VersionId: str):244        pass245    def set_security_token_service_preferences(self, GlobalEndpointTokenVersion: str):246        pass247    def simulate_custom_policy(self, PolicyInputList: List, ActionNames: List, ResourceArns: List = None, ResourcePolicy: str = None, ResourceOwner: str = None, CallerArn: str = None, ContextEntries: List = None, ResourceHandlingOption: str = None, MaxItems: int = None, Marker: str = None) -> Dict:248        pass249    def simulate_principal_policy(self, PolicySourceArn: str, ActionNames: List, PolicyInputList: List = None, ResourceArns: List = None, ResourcePolicy: str = None, ResourceOwner: str = None, CallerArn: str = None, ContextEntries: List = None, ResourceHandlingOption: str = None, MaxItems: int = None, Marker: str = None) -> Dict:250        pass251    def tag_role(self, RoleName: str, Tags: List):252        pass253    def tag_user(self, UserName: str, Tags: List):254        pass255    def untag_role(self, RoleName: str, TagKeys: List):256        pass257    def untag_user(self, UserName: str, TagKeys: List):258        pass259    def update_access_key(self, AccessKeyId: str, Status: str, UserName: str = None):...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!!
