ExAws. Location. Keys. ApiKeyRestrictions
(ex_aws_location v0.1.0)
Copy Markdown
API Restrictions on the allowed actions, resources, and referers for an API key resource.
Fields
:allow_actions- (required) A list of allowed actions that an API key resource grants permissions to perform. You must have at least one action for each type of resource. For example, if you have a place resource, you must include at least one place action.:allow_android_apps- An optional list of allowed Android applications for which requests must originate from. Requests using this API key from other sources will not be allowed.:allow_apple_apps- An optional list of allowed Apple applications for which requests must originate from. Requests using this API key from other sources will not be allowed.:allow_referers- An optional list of allowed HTTP referers for which requests must originate from. Requests using this API key from other domains will not be allowed.:allow_resources- (required) A list of allowed resource ARNs that a API key bearer can perform actions on.
See https://docs.aws.amazon.com/location/previous/APIReference/API_ApiKeyRestrictions.html
Summary
Types
@type t() :: %ExAws.Location.Keys.ApiKeyRestrictions{ allow_actions: [String.t()], allow_android_apps: [ExAws.Location.Keys.AndroidApp.t()] | nil, allow_apple_apps: [ExAws.Location.Keys.AppleApp.t()] | nil, allow_referers: [String.t()] | nil, allow_resources: [String.t()] }