SetParameter

SetParameter 1:

This method sets the required parameters on a header intended for requests to AWS services and signs it. The individual parameters must be sorted alphabetically for signing. This is done internally by the driver, so the user does not have to pay attention to the order.

Syntax

METHOD SetParameter : BOOL
VAR_IN_OUT CONSTANT
    service       : STRING;
    region        : STRING;
    accessKey     : STRING;
    secretKey     : STRING;
    signedHeaders : STRING;
END_VAR

SetParameter 2: Return value

Name

Type

Description

SetParameter

BOOL

Returns TRUE if the method call was successful.

SetParameter 3: Inputs

Name

Type

Description

service

STRING

AWS service code

region

STRING

AWS data center code.

accessKey

STRING

The AccessKey of the two-part access key of an AWS IAM user. Required for authentication of requests.

secretKey

STRING

The SecretKey of the two-part access key of an AWS IAM user. Required for authentication of requests.

signedHeaders

STRING

Describes a semicolon-separated list of HTTPS headers to include in the signature. For more information please refer to the AWS documentation.