Questions tagged with Developer Tools

Content language: English

Sort by most recent

Browse through the questions and answers listed below or filter and sort to narrow down your results.

Hello, I have assigned for backup data Opensearch from aws to local disk. Is it possible to ? 1. Create Opensearch on-prem 2. Backup data from AWS to local disk 3. Upload to on-prem Opensearch Do you have medthod how I backup to local? Note: I no have exp about Opensearch before
1
answers
0
votes
22
views
asked 2 months ago
Hi all, I wanted to ask if anyone had success in connecting to an AWS Redshift datashare's consumer DB from an analytic tool like Power BI. I am trying to connect my Redshift datashare's consumer DB to Power BI but while connecting I am only shown options to connect to the cluster's own DB and not the shared DB. Anyone able to accomplish this successfully? Thanks. Regards, Raunak
1
answers
0
votes
66
views
asked 2 months ago
This is cross posted on StackOverflow https://stackoverflow.com/questions/75389388/using-aws-java-sdk-2-0-webidentitytokenfilecredentialsprovider-gives-sdkclientex ``` I have an application that already works using Kinesis. The application uses AWS Session Credentials but we are switching to using either AWS Session Credentials or Web Identity Token (software.amazon.awssdk.auth.credentials.WebIdentityTokenFileCredentialsProvider) depending on the deployment environment. When I add in the code to use WebIdentityTokenFileCredentialsProvider I get the stacktrace below. I can't provide the code but rest assured I'm setting an HTTP client for Kinesis. But if you look at the stacktrace it shows that a default HTTP client is being configured via the Provider deep within the AWS SDK code. I have no influence over the Credentials Provider setting the HTTP client as the WebIdentityTokenFileCredentialsProvider doesn't give me a way to tell it that I don't need a default HTTP client being set. I know one option is to create my own implementation of the WebIdentityTokenFileCredentialsProvider but I'd rather not do that. Question: What else can I do to work around this? Caused by: software.amazon.awssdk.core.exception.SdkClientException: Multiple HTTP implementations were found on the classpath. To avoid non-deterministic loading implementations, please explicitly provide an HTTP client via the client builders, set the software.amazon.awssdk.http.service.impl system property with the FQCN of the HTTP service to use as the default, or remove all but one HTTP implementation from the classpath at software.amazon.awssdk.core.exception.SdkClientException$BuilderImpl.build(SdkClientException.java:102) at software.amazon.awssdk.core.internal.http.loader.ClasspathSdkHttpServiceProvider.loadService(ClasspathSdkHttpServiceProvider.java:62) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:1002) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:129) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:527) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:513) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:647) at software.amazon.awssdk.core.internal.http.loader.SdkHttpServiceProviderChain.loadService(SdkHttpServiceProviderChain.java:44) at software.amazon.awssdk.core.internal.http.loader.CachingSdkHttpServiceProvider.loadService(CachingSdkHttpServiceProvider.java:46) at software.amazon.awssdk.core.internal.http.loader.DefaultSdkHttpClientBuilder.buildWithDefaults(DefaultSdkHttpClientBuilder.java:40) at software.amazon.awssdk.core.client.builder.SdkDefaultClientBuilder.lambda$resolveSyncHttpClient$7(SdkDefaultClientBuilder.java:343) at java.base/java.util.Optional.orElseGet(Optional.java:364) at software.amazon.awssdk.core.client.builder.SdkDefaultClientBuilder.resolveSyncHttpClient(SdkDefaultClientBuilder.java:343) at software.amazon.awssdk.core.client.builder.SdkDefaultClientBuilder.finalizeSyncConfiguration(SdkDefaultClientBuilder.java:282) at software.amazon.awssdk.core.client.builder.SdkDefaultClientBuilder.syncClientConfiguration(SdkDefaultClientBuilder.java:178) at software.amazon.awssdk.services.sts.DefaultStsClientBuilder.buildClient(DefaultStsClientBuilder.java:27) at software.amazon.awssdk.services.sts.DefaultStsClientBuilder.buildClient(DefaultStsClientBuilder.java:22) at software.amazon.awssdk.core.client.builder.SdkDefaultClientBuilder.build(SdkDefaultClientBuilder.java:145) at software.amazon.awssdk.services.sts.internal.StsWebIdentityCredentialsProviderFactory$StsWebIdentityCredentialsProvider.<init>(StsWebIdentityCredentialsProviderFactory.java:71) at software.amazon.awssdk.services.sts.internal.StsWebIdentityCredentialsProviderFactory$StsWebIdentityCredentialsProvider.<init>(StsWebIdentityCredentialsProviderFactory.java:55) at software.amazon.awssdk.services.sts.internal.StsWebIdentityCredentialsProviderFactory.create(StsWebIdentityCredentialsProviderFactory.java:47) at software.amazon.awssdk.auth.credentials.WebIdentityTokenFileCredentialsProvider.<init>(WebIdentityTokenFileCredentialsProvider.java:86) at software.amazon.awssdk.auth.credentials.WebIdentityTokenFileCredentialsProvider.<init>(WebIdentityTokenFileCredentialsProvider.java:46) at software.amazon.awssdk.auth.credentials.WebIdentityTokenFileCredentialsProvider$BuilderImpl.build(WebIdentityTokenFileCredentialsProvider.java:200) ```
2
answers
0
votes
68
views
cwa
asked 2 months ago
I'm trying to migrate from SDK for Java v1 to v2. With the `AmazonS3` client in SDK v1, PutObject returns PutObjectResult which makes the object metadata available. From the object metadata I can get the version ID of the file (along with content length and last modified timestamp). I don't see a way to get any of this information from the `S3Client` in SDK v2 from the response to the PutObject. I do not want to have to make a separate call to get the version ID. I'm really hoping someone can tell me that this data is still available in the response and that I'm just not seeing it. Any pointers would be appreciated. Thanks. Edited to add that I don't want to make a second request. I'm looking for similar behavior to v1.
1
answers
0
votes
18
views
Mark
asked 2 months ago
While running eks cli commnds facing the below issues /usr/local/bin/aws eks list-clusters --region us-east-1 SSL validation failed for https://eks.us-east-1.amazonaws.com/clusters hostname 'eks.us-east-1.amazonaws.com' doesn't match either of '*.us-east-1.es.amazonaws.com', '*.cell-01.us-east-1.es.amazonaws.com' but not seen when executing other cli commands. like (aws ec2)..
1
answers
0
votes
78
views
asked 2 months ago
As the title says. Highest nodejs runtime currently available is v16, which is quite old. https://docs.aws.amazon.com/codebuild/latest/userguide/runtime-versions.html I have dependencies with important security updates that I cannot use with nodejs v18 or higher.
1
answers
1
votes
200
views
adam6p
asked 2 months ago
I have a .NET web application that receives a stream over http from a client. The stream received from the client does not support the Length or Seek functionality. I need to upload this stream to S3. Therefore I am using the .net SDK https://www.nuget.org/packages/AWSSDK.S3/3.7.102 According to the documentation from AWS S3 RestAPI, it seems that the length and seek functionality is not required: https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html On this above link, the required parameters are marked with "Required: yes", but for "Content-Length", there is no requirement. I am using "UploadPartRequest" and "PutObjectRequest" but both of these requests do not work even by setting following parameters: DisablePayloadSigning = true, DisableMD5Stream = true, CalculateContentMD5Header = false, UseChunkEncoding = false, Could you please check this problem and fix it in SDK because without this fix, I must download the stream from client in an intermediate stream and must face a performance issues. Thanks.
4
answers
0
votes
36
views
niaz
asked 2 months ago
Hi there, I am attempting to finish setting up an EC2 to enable a research tool to be deployed online. I have had troubles with the "Certificate automation: Let's Encrypt with Certbot on Amazon Linux 2" instructions, linked below: [https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/SSL-on-amazon-linux-2.html#letsencrypt:~:text=Linux%202%20AMI.-,Certificate%20automation%3A%20Let%27s%20Encrypt%20with%20Certbot%20on%20Amazon%20Linux%202,-Warning]() I have installed Apache through the following commands: ``` sudo yum install -y httpd cd /tmp sudo wget -O epel.rpm –nv \ https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm sudo yum install -y ./epel.rpm sudo yum install python2-certbot-apache.noarch ``` I enter the following commands into a .pem bash terminal in vscode: ``` sudo wget -r --no-parent -A 'epel-release-*.rpm' https://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/e/ sudo rpm -Uvh dl.fedoraproject.org/pub/epel/7/x86_64/Packages/e/epel-release-*.rpm sudo yum-config-manager --enable epel* sudo yum update -y sudo yum repolist all ``` When confirming that the EPEL is enabled, my information in vscode differs from what the instructions state. Please view the images below: ##### **Instructions:** ![Enter image description here](/media/postImages/original/IMUeVDGLN7T26Q5apMK_z7EA) ##### **My information:** ![Enter image description here](/media/postImages/original/IMvm5lxnh1Tv-0ewY4QFU0Fw) Any guidance on where a mistake may have been made, or why i am not able to enable these services would be greatly appreciated! Many Thanks,
1
answers
0
votes
33
views
asked 2 months ago
How do I remove the option to removed "download" from the video player. I would like the clients to view but no other options.
1
answers
0
votes
35
views
asked 2 months ago
I suspect I know the answer, but I just wanted to confirm that the plan is for CodeCatalyst to have extensions to connect with BitBucket, GitLab etc. and not just GitHub? Are you also planning extensions similar to the Jira integration but for say GitHub issues, trello etc - or opening up a mechanism for developers to add extensions?
2
answers
0
votes
100
views
profile picture
asked 2 months ago
i'm following this" Tutorial: Creating a search application with Amazon OpenSearch Service", on this url 'https://docs.aws.amazon.com/opensearch-service/latest/developerguide/search-example.html'. Now in the lambda functions screen under functions I have a testFunction. Here i uploaded a zip file with a folder 'packages' and a file 'lambda_function.py'. If I test the file in the browser I get this error "Unable to import module 'lambda_function': No module named 'charset_normalizer'". In the package folder there is a folder 'charset_normalizer'? If I run the code local, I get no errors...
2
answers
0
votes
574
views
robbe
asked 2 months ago
Hello! We are working on an Unreal Engine 5 game for PC, PlayStation, and Xbox. We are using Gamelift+dedicated servers for multiplayer, and it's working fine on PC. We have been trying to compile the Gamelift project from AWS SDK for C++ for the console target platforms but we haven't been able to, as there are multiple compilation errors in sections of the code that are compiling assuming we are building for windows desktop+phone instead of consoles. Any directions on how to successfully solve this? Is it possible to use the Gamelift client libraries on these consoles?
0
answers
0
votes
19
views
asked 2 months ago