C# Класс Amazon.IdentityManagement.Model.UpdateAccessKeyRequest

Container for the parameters to the UpdateAccessKey operation.

Changes the status of the specified access key from Active to Inactive, or vice versa. This action can be used to disable a user's key as part of a key rotation work flow.

If the UserName field is not specified, the UserName is determined implicitly based on the AWS access key ID used to sign the request. Because this action works for access keys under the AWS account, this API can be used to manage root credentials even if the AWS account has no associated users.

For information about rotating keys, see Managing Keys and Certificates in Using AWS Identity and Access Management .

Наследование: AmazonIdentityManagementServiceRequest
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
UpdateAccessKeyRequest ( ) : System

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

UpdateAccessKeyRequest ( string accessKeyId, StatusType status ) : System

Instantiates UpdateAccessKeyRequest with the parameterized properties

Приватные методы

Метод Описание
IsSetAccessKeyId ( ) : bool
IsSetStatus ( ) : bool
IsSetUserName ( ) : bool

Описание методов

UpdateAccessKeyRequest() публичный Метод

Empty constructor used to set properties independently even when a simple constructor is available
public UpdateAccessKeyRequest ( ) : System
Результат System

UpdateAccessKeyRequest() публичный Метод

Instantiates UpdateAccessKeyRequest with the parameterized properties
public UpdateAccessKeyRequest ( string accessKeyId, StatusType status ) : System
accessKeyId string The access key ID of the secret access key you want to update. This parameter allows (per its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.
status StatusType The status you want to assign to the secret access key. Active means the key can be used for API calls to AWS, while Inactive means the key cannot be used.
Результат System