Set service parameters¶
Description¶
Help functions for setting the parameters for services
Usage¶
config(
credentials = list(creds = list(access_key_id = "", secret_access_key = "",
session_token = "", access_token = "", expiration = Inf), profile = "", anonymous =
FALSE),
endpoint = "",
region = "",
close_connection = FALSE,
max_retries = 3,
connect_timeout = 60,
s3_force_path_style = FALSE,
s3_virtual_address = FALSE,
sts_regional_endpoint = "",
use_dual_stack = FALSE,
signature_version = ""
)
credentials(
creds = list(access_key_id = "", secret_access_key = "", session_token = "",
access_token = "", expiration = Inf),
profile = "",
anonymous = FALSE
)
creds(
access_key_id = "",
secret_access_key = "",
session_token = "",
access_token = "",
expiration = Inf
)
Arguments¶
-
credentialscredentials()orlistin same format.-¶
-
endpointThe complete URL to use for the constructed client.
-
regionThe AWS Region used in instantiating the client.
-
close_connectionImmediately close all HTTP connections.
-
max_retriesMax number of retries call AWS API (default set to 3).
-
connect_timeoutThe time in seconds till a timeout exception is thrown when attempting to make a connection. The default is 60 seconds.
-
s3_force_path_styleSet this to
trueto force the request to use path-style addressing, i.e.http://s3.amazonaws.com/BUCKET/KEY. -
s3_virtual_addressSet this to
trueto force the request to use virtual-hosted-style -
sts_regional_endpointSet sts regional endpoint resolver to regional or legacy https://docs.aws.amazon.com/sdkref/latest/guide/feature-sts-regionalized-endpoints.html
-
use_dual_stackSet this to
trueto use the dualstack (IPv4 and IPv6) endpoint for a service, where available, falling back to the regular endpoint when it isn't. Defaults to theAWS_USE_DUALSTACK_ENDPOINTenvironment variable when unset. -
signature_versionThe signature version used when signing requests. Note that the default version is Signature Version 4.
-
credscreds()orlistin same format.-¶
-¶
-
profileThe name of a profile to use. If not given, then the default profile is used.
-
anonymousSet anonymous credentials.
-
access_key_idAWS access key ID
-
secret_access_keyAWS secret access key
-
session_tokenAWS temporary session token
-
access_tokenThe token issued by the
CreateTokenAPI call. For more information, see CreateToken in theIAM Identity Center OIDC API Reference Guide. -
expirationThe date and time when the temporary credentials expire.
expirationmust be aPOSIXctdate-time or able to be compared with them.
Value¶
list set of parameter variables for paws services.