This class defines utilities and constants that can be used by
all the client libraries of the SDK.
| C# |
public static class AWSSDKUtils
| All Members | Methods | Properties | Fields | ||
| Icon | Member | Description |
|---|---|---|
| ConvertFromUnixEpochSeconds(Int32) |
Utilitly method for converting Unix epoch seconds to DateTime structure.
| |
| ConvertToUnixEpochMilliSeconds(DateTime) | ||
| ConvertToUnixEpochSeconds(DateTime) | ||
| DetermineRegion(String) |
Attempt to infer the region for a service request based on the endpoint
| |
| DetermineService(String) |
Attempt to infer the service name for a request (in short form, eg 'iam') from the
service endpoint.
| |
| FormattedCurrentTimestampGMT |
Formats the current date as a GMT timestamp
| |
| FormattedCurrentTimestampISO8601 |
Formats the current date as ISO 8601 timestamp
| |
| FormattedCurrentTimestampRFC822 |
Formats the current date as ISO 8601 timestamp
| |
| GetFormattedTimestampISO8601(Int32) |
Gets the ISO8601 formatted timestamp that is minutesFromNow
in the future.
| |
| GetFormattedTimestampRFC822(Int32) |
Gets the RFC822 formatted timestamp that is minutesFromNow
in the future.
| |
| GMTDateFormat |
The GMT Date Format string. Used when parsing date objects
| |
| HMACSign(String, SecureString, KeyedHashAlgorithm) |
Computes RFC 2104-compliant HMAC signature
| |
| HMACSign(array<Byte>[]()[][], SecureString, KeyedHashAlgorithm) |
Computes RFC 2104-compliant HMAC signature
| |
| HMACSign(String, String, KeyedHashAlgorithm) |
Computes RFC 2104-compliant HMAC signature
| |
| HMACSign(array<Byte>[]()[][], String, KeyedHashAlgorithm) |
Computes RFC 2104-compliant HMAC signature
| |
| ISO8601BasicDateTimeFormat |
The ISO8601 Basic date/time format string. Used when parsing date objects
| |
| ISO8601DateFormat |
The ISO8601Date Format string. Used when parsing date objects
| |
| ISO8601DateFormatNoMS |
The ISO8601Date Format string. Used when parsing date objects
| |
| RFC822DateFormat |
The RFC822Date Format string. Used when parsing date objects
| |
| SDKUserAgent |
The AWS SDK User Agent
| |
| SetUserAgent(String, String) | ||
| UrlEncode(String, Boolean) |
URL encodes a string per RFC3986. If the path property is specified,
the accepted path characters {/+:} are not encoded.
| |
| UrlEncodedContent |
The string representing Url Encoded Content in HTTP requests
| |
| UserAgentHeader |
The user agent string header
| |
| ValidUrlCharacters |
The Set of accepted and valid Url characters per RFC3986.
Characters outside of this set will be encoded.
| |
| ValidUrlCharactersRFC1738 |
The Set of accepted and valid Url characters per RFC1738.
Characters outside of this set will be encoded.
|
| Object | |
| AWSSDKUtils | |