locationservice_create_key: Creates an API key resource in your Amazon Web Services...

View source: R/locationservice_operations.R

locationservice_create_keyR Documentation

Creates an API key resource in your Amazon Web Services account, which lets you grant actions for Amazon Location resources to the API key bearer

Description

Creates an API key resource in your Amazon Web Services account, which lets you grant actions for Amazon Location resources to the API key bearer.

See https://www.paws-r-sdk.com/docs/locationservice_create_key/ for full documentation.

Usage

locationservice_create_key(
  Description = NULL,
  ExpireTime = NULL,
  KeyName,
  NoExpiry = NULL,
  Restrictions,
  Tags = NULL
)

Arguments

Description

An optional description for the API key resource.

ExpireTime

The optional timestamp for when the API key resource will expire in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ. One of NoExpiry or ExpireTime must be set.

KeyName

[required] A custom name for the API key resource.

Requirements:

  • Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), and underscores (_).

  • Must be a unique API key name.

  • No spaces allowed. For example, ExampleAPIKey.

NoExpiry

Optionally set to true to set no expiration time for the API key. One of NoExpiry or ExpireTime must be set.

Restrictions

[required] The API key restrictions for the API key resource.

Tags

Applies one or more tags to the map resource. A tag is a key-value pair that helps manage, identify, search, and filter your resources by labelling them.

Format: "key" : "value"

Restrictions:

  • Maximum 50 tags per resource

  • Each resource tag must be unique with a maximum of one value.

  • Maximum key length: 128 Unicode characters in UTF-8

  • Maximum value length: 256 Unicode characters in UTF-8

  • Can use alphanumeric characters (A–Z, a–z, 0–9), and the following characters: + - = . _ : / @.

  • Cannot use "aws:" as a prefix for a key.


paws.application.integration documentation built on Sept. 12, 2023, 1:18 a.m.