C# 클래스 Amazon.IdentityManagement.Model.DeactivateMFADeviceRequest

Container for the parameters to the DeactivateMFADevice operation. Deactivates the specified MFA device and removes it from association with the user name for which it was originally enabled.

For more information about creating and working with virtual MFA devices, go to Using a Virtual MFA Device in the IAM User Guide.

상속: AmazonIdentityManagementServiceRequest
파일 보기 프로젝트 열기: aws/aws-sdk-net 1 사용 예제들

공개 메소드들

메소드 설명
DeactivateMFADeviceRequest ( ) : System

Empty constructor used to set properties independently even when a simple constructor is available

DeactivateMFADeviceRequest ( string userName, string serialNumber ) : System

Instantiates DeactivateMFADeviceRequest with the parameterized properties

비공개 메소드들

메소드 설명
IsSetSerialNumber ( ) : bool
IsSetUserName ( ) : bool

메소드 상세

DeactivateMFADeviceRequest() 공개 메소드

Empty constructor used to set properties independently even when a simple constructor is available
public DeactivateMFADeviceRequest ( ) : System
리턴 System

DeactivateMFADeviceRequest() 공개 메소드

Instantiates DeactivateMFADeviceRequest with the parameterized properties
public DeactivateMFADeviceRequest ( string userName, string serialNumber ) : System
userName string The name of the user whose MFA device you want to deactivate. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
serialNumber string The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =/:,.@-
리턴 System