paws.compute (version 0.1.0)

ec2_describe_key_pairs: Describes one or more of your key pairs

Description

Describes one or more of your key pairs.

Usage

ec2_describe_key_pairs(Filters, KeyNames, DryRun)

Arguments

Filters

One or more filters.

  • fingerprint - The fingerprint of the key pair.

  • key-name - The name of the key pair.

KeyNames

One or more key pair names.

Default: Describes all your key pairs.

DryRun

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Request syntax

svc$describe_key_pairs(
  Filters = list(
    list(
      Name = "string",
      Values = list(
        "string"
      )
    )
  ),
  KeyNames = list(
    "string"
  ),
  DryRun = TRUE|FALSE
)

Details

For more information about key pairs, see Key Pairs in the Amazon Elastic Compute Cloud User Guide.

Examples

Run this code
# NOT RUN {
# This example displays the fingerprint for the specified key.
# }
# NOT RUN {
svc$describe_key_pairs(
  KeyNames = list(
    "my-key-pair"
  )
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataCamp Workspace