This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using Amazon.EC2; | |
namespace aws_sdk_user_agent_header_examples_dotnet | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
var uaconfig = new UaEC2Config("test-ua-header"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.text.MessageFormat; | |
import java.time.ZonedDateTime; | |
import java.time.format.DateTimeFormatter; | |
import software.amazon.awssdk.core.client.config.SdkAdvancedClientOption; | |
import software.amazon.awssdk.core.sync.RequestBody; | |
import software.amazon.awssdk.regions.Region; | |
import software.amazon.awssdk.services.s3.S3Client; | |
import software.amazon.awssdk.services.s3.model.PutObjectRequest; | |
import software.amazon.awssdk.services.s3.model.S3Exception; |