cloudfront_get_origin_request_policy: Gets an origin request policy, including the following...

Description Usage Arguments Value Request syntax

View source: R/cloudfront_operations.R

Description

Gets an origin request policy, including the following metadata:

To get an origin request policy, you must provide the policy’s identifier. If the origin request policy is attached to a distribution’s cache behavior, you can get the policy’s identifier using list_distributions or get_distribution. If the origin request policy is not attached to a cache behavior, you can get the identifier using list_origin_request_policies.

Usage

1

Arguments

Id

[required] The unique identifier for the origin request policy. If the origin request policy is attached to a distribution’s cache behavior, you can get the policy’s identifier using list_distributions or get_distribution. If the origin request policy is not attached to a cache behavior, you can get the identifier using list_origin_request_policies.

Value

A list with the following syntax:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
list(
  OriginRequestPolicy = list(
    Id = "string",
    LastModifiedTime = as.POSIXct(
      "2015-01-01"
    ),
    OriginRequestPolicyConfig = list(
      Comment = "string",
      Name = "string",
      HeadersConfig = list(
        HeaderBehavior = "none"|"whitelist"|"allViewer"|"allViewerAndWhitelistCloudFront",
        Headers = list(
          Quantity = 123,
          Items = list(
            "string"
          )
        )
      ),
      CookiesConfig = list(
        CookieBehavior = "none"|"whitelist"|"all",
        Cookies = list(
          Quantity = 123,
          Items = list(
            "string"
          )
        )
      ),
      QueryStringsConfig = list(
        QueryStringBehavior = "none"|"whitelist"|"all",
        QueryStrings = list(
          Quantity = 123,
          Items = list(
            "string"
          )
        )
      )
    )
  ),
  ETag = "string"
)

Request syntax

1
2
3
svc$get_origin_request_policy(
  Id = "string"
)

paws.networking documentation built on March 7, 2021, 5:08 p.m.