How to use tag_mfa_device method in localstack

Best Python code snippet using localstack_python

client.pyi

Source:client.pyi Github

copy

Full Screen

...1250 Adds one or more tags to an IAM instance profile.1251 [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/1.24.58/reference/services/iam.html#IAM.Client.tag_instance_profile)1252 [Show boto3-stubs documentation](https://vemel.github.io/boto3_stubs_docs/mypy_boto3_iam/client.html#tag_instance_profile)1253 """1254 def tag_mfa_device(self, *, SerialNumber: str, Tags: List["TagTypeDef"]) -> None:1255 """1256 Adds one or more tags to an IAM virtual multi-factor authentication (MFA)1257 device.1258 [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/1.24.58/reference/services/iam.html#IAM.Client.tag_mfa_device)1259 [Show boto3-stubs documentation](https://vemel.github.io/boto3_stubs_docs/mypy_boto3_iam/client.html#tag_mfa_device)1260 """1261 def tag_open_id_connect_provider(1262 self, *, OpenIDConnectProviderArn: str, Tags: List["TagTypeDef"]1263 ) -> None:1264 """1265 Adds one or more tags to an OpenID Connect (OIDC)-compatible identity provider.1266 [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/1.24.58/reference/services/iam.html#IAM.Client.tag_open_id_connect_provider)1267 [Show boto3-stubs documentation](https://vemel.github.io/boto3_stubs_docs/mypy_boto3_iam/client.html#tag_open_id_connect_provider)1268 """1269 def tag_policy(self, *, PolicyArn: str, Tags: List["TagTypeDef"]) -> None:1270 """1271 Adds one or more tags to an IAM customer managed policy.1272 [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/1.24.58/reference/services/iam.html#IAM.Client.tag_policy)1273 [Show boto3-stubs documentation](https://vemel.github.io/boto3_stubs_docs/mypy_boto3_iam/client.html#tag_policy)1274 """1275 def tag_role(self, *, RoleName: str, Tags: List["TagTypeDef"]) -> None:1276 """1277 Adds one or more tags to an IAM role.1278 [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/1.24.58/reference/services/iam.html#IAM.Client.tag_role)1279 [Show boto3-stubs documentation](https://vemel.github.io/boto3_stubs_docs/mypy_boto3_iam/client.html#tag_role)1280 """1281 def tag_saml_provider(self, *, SAMLProviderArn: str, Tags: List["TagTypeDef"]) -> None:1282 """1283 Adds one or more tags to a Security Assertion Markup Language (SAML) identity1284 provider.1285 [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/1.24.58/reference/services/iam.html#IAM.Client.tag_saml_provider)1286 [Show boto3-stubs documentation](https://vemel.github.io/boto3_stubs_docs/mypy_boto3_iam/client.html#tag_saml_provider)1287 """1288 def tag_server_certificate(1289 self, *, ServerCertificateName: str, Tags: List["TagTypeDef"]1290 ) -> None:1291 """1292 Adds one or more tags to an IAM server certificate.1293 [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/1.24.58/reference/services/iam.html#IAM.Client.tag_server_certificate)1294 [Show boto3-stubs documentation](https://vemel.github.io/boto3_stubs_docs/mypy_boto3_iam/client.html#tag_server_certificate)1295 """1296 def tag_user(self, *, UserName: str, Tags: List["TagTypeDef"]) -> None:1297 """1298 Adds one or more tags to an IAM user.1299 [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/1.24.58/reference/services/iam.html#IAM.Client.tag_user)1300 [Show boto3-stubs documentation](https://vemel.github.io/boto3_stubs_docs/mypy_boto3_iam/client.html#tag_user)1301 """1302 def untag_instance_profile(self, *, InstanceProfileName: str, TagKeys: List[str]) -> None:1303 """1304 Removes the specified tags from the IAM instance profile.1305 [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/1.24.58/reference/services/iam.html#IAM.Client.untag_instance_profile)1306 [Show boto3-stubs documentation](https://vemel.github.io/boto3_stubs_docs/mypy_boto3_iam/client.html#untag_instance_profile)1307 """1308 def untag_mfa_device(self, *, SerialNumber: str, TagKeys: List[str]) -> None:1309 """1310 Removes the specified tags from the IAM virtual multi-factor authentication1311 (MFA) device.1312 [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/1.24.58/reference/services/iam.html#IAM.Client.untag_mfa_device)1313 [Show boto3-stubs documentation](https://vemel.github.io/boto3_stubs_docs/mypy_boto3_iam/client.html#untag_mfa_device)1314 """1315 def untag_open_id_connect_provider(1316 self, *, OpenIDConnectProviderArn: str, TagKeys: List[str]1317 ) -> None:1318 """1319 Removes the specified tags from the specified OpenID Connect (OIDC)-compatible1320 identity provider in IAM.1321 [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/1.24.58/reference/services/iam.html#IAM.Client.untag_open_id_connect_provider)1322 [Show boto3-stubs documentation](https://vemel.github.io/boto3_stubs_docs/mypy_boto3_iam/client.html#untag_open_id_connect_provider)...

Full Screen

Full Screen

__init__.py

Source:__init__.py Github

copy

Full Screen

...2358 tags: tagListType,2359 ) -> None:2360 raise NotImplementedError2361 @handler("TagMFADevice")2362 def tag_mfa_device(2363 self, context: RequestContext, serial_number: serialNumberType, tags: tagListType2364 ) -> None:2365 raise NotImplementedError2366 @handler("TagOpenIDConnectProvider")2367 def tag_open_id_connect_provider(2368 self, context: RequestContext, open_id_connect_provider_arn: arnType, tags: tagListType2369 ) -> None:2370 raise NotImplementedError2371 @handler("TagPolicy")2372 def tag_policy(self, context: RequestContext, policy_arn: arnType, tags: tagListType) -> None:2373 raise NotImplementedError2374 @handler("TagRole")2375 def tag_role(self, context: RequestContext, role_name: roleNameType, tags: tagListType) -> None:2376 raise NotImplementedError2377 @handler("TagSAMLProvider")2378 def tag_saml_provider(2379 self, context: RequestContext, saml_provider_arn: arnType, tags: tagListType2380 ) -> None:2381 raise NotImplementedError2382 @handler("TagServerCertificate")2383 def tag_server_certificate(2384 self,2385 context: RequestContext,2386 server_certificate_name: serverCertificateNameType,2387 tags: tagListType,2388 ) -> None:2389 raise NotImplementedError2390 @handler("TagUser")2391 def tag_user(2392 self, context: RequestContext, user_name: existingUserNameType, tags: tagListType2393 ) -> None:2394 raise NotImplementedError2395 @handler("UntagInstanceProfile")2396 def untag_instance_profile(2397 self,2398 context: RequestContext,2399 instance_profile_name: instanceProfileNameType,2400 tag_keys: tagKeyListType,2401 ) -> None:2402 raise NotImplementedError2403 @handler("UntagMFADevice")2404 def untag_mfa_device(2405 self, context: RequestContext, serial_number: serialNumberType, tag_keys: tagKeyListType2406 ) -> None:2407 raise NotImplementedError2408 @handler("UntagOpenIDConnectProvider")2409 def untag_open_id_connect_provider(2410 self,2411 context: RequestContext,2412 open_id_connect_provider_arn: arnType,2413 tag_keys: tagKeyListType,2414 ) -> None:2415 raise NotImplementedError2416 @handler("UntagPolicy")2417 def untag_policy(2418 self, context: RequestContext, policy_arn: arnType, tag_keys: tagKeyListType...

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