Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
78 views

In AWS SDK v1, we could use the getBucketName() method from S3ObjectSummary to retrieve the bucket name. However, in AWS SDK v2, the S3Object class doesn’t seem to provide a similar method. How can I ...
Karthika 's user avatar
0 votes
0 answers
63 views

I am trying to get users to be able to log in via a Cognito account and use those credentials to make calls on a backend API. To that end I have been trying to import the Cognito libraries in an ...
SaturnBowerBird's user avatar
0 votes
1 answer
42 views

I have a DynamoDB table defined as follows: Partition key: id (string) Sort key: ruleId (string) Example item: { "id": "123", "ruleId": "abc" } What I want is ...
Maayan Israel's user avatar
0 votes
0 answers
69 views

Using software.amazon.awssdk:s3:2.32.11 I started with the following code: var objectKey = "test.txt"; var path = Path.of("/tmp/test/log.txt"); var credentials = ...
justis's user avatar
  • 631
0 votes
0 answers
79 views

I'm trying to programmatically verify whether Split Cost Allocation is truly enabled for Amazon EKS — specifically, whether Kubernetes pod-level usage data is being emitted to my Cost and Usage ...
Tomer S's user avatar
  • 1,081
-3 votes
1 answer
175 views

const { S3Client, PutObjectCommand, GetObjectCommand, DeleteObjectCommand, } = require("@aws-sdk/client-s3"); const params = { Bucket: process.env.AWS_S3_PHOTO_BUCKET, ...
Bear Bile Farming is Torture's user avatar
0 votes
0 answers
61 views

I am migrating some services to aws SDK V3, and I need to use web identity token for the credentials, but I am facing a strange problem where it works for an hour and the first request after this hour ...
Augusto Timm's user avatar
0 votes
0 answers
161 views

In aws sdk v1 : @DynamoDBAutoGeneratedTimestamp(strategy = DynamoDBAutoGenerateStrategy.CREATE) Above annotation was there to create auto generated time field. In aws sdk v2 replaced with below code: ...
adarsh's user avatar
  • 142
1 vote
1 answer
268 views

I am attempting to create an object on our Ceph instance and the only piece of information returned is that the request failed with a 400. I don't have direct access to Ceph logs as its managed by the ...
Benjamin Bajic's user avatar
0 votes
0 answers
156 views

I have a problem about fixing 401 Unauthorized issue when I upload a file through Cloudflare R2 Storage in my Spring Boot example. I get Token value, access key, secret key and jurisdiction-specific ...
Sercan Noyan Germiyanoğlu's user avatar
0 votes
0 answers
54 views

I’m migrating my app to Expo SDK 52 (Hermes) and using AWS SDK v3 to call Cognito from React Native: import { CognitoIdentityProviderClient } from '@aws-sdk/client-cognito-identity-provider'; import { ...
Pasquale Fioretti's user avatar
0 votes
1 answer
37 views

I'm working on creating a custom authentication user interface for my Rocket.Chat application. For this, I'm using AWS Cognito and the AWS SDK for communication with Cognito. I'm not using the default ...
Ebrahim Afridi's user avatar
1 vote
1 answer
292 views

In Pyspark, I use this code so many time: spark_session = (SparkSession .builder .appName(f"ditto-lander-spark-ingest-etl-{args['etl_job_name']}") ...
Flo's user avatar
  • 485
0 votes
1 answer
108 views

I have image files stored in AWS S3 bucket, I want to download those files in my application and so I am generating a presigned url. Using this URL, I will be able to download these images. I am using ...
Enthusiast Coder's user avatar
-1 votes
1 answer
66 views

We upgraded from version 1 to the version 2 sdk because support was cut for the first version of the SDK. The old client sync client was switched out for the new async client and new transfer manager. ...
Leon Csergity's user avatar
1 vote
2 answers
426 views

I’m new to Replit and couldn’t find a clear answer in the documentation. I would like to build a web-based application on Replit that uses AWS DynamoDB as the primary data store. My main questions are:...
Nk Mk's user avatar
  • 1,089
0 votes
1 answer
40 views

I created on aws a "Push notification platform - Apple iOS (development)" I am just trying to create a new endpoint from AWS SDK JS v3 const deviceId = 'a0b1c2d3e4f5' // would be a real ...
realtebo's user avatar
  • 25.8k
0 votes
0 answers
81 views

import { DynamoDBClient } from '@aws-sdk/client-dynamodb' import { fromTemporaryCredentials } from '@aws-sdk/credential-providers' import { DynamoDBDocumentClient } from '@aws-sdk/lib-dynamodb' const ...
Gustavo Diniz Monteiro's user avatar
0 votes
1 answer
48 views

Lets say I invoke AWS APIs in my java/kotlin code. Example on getHostedZone route53 API below. Should I check if response == null first or is response guaranteed to be non null? Is null pointer check ...
user3201336's user avatar
0 votes
1 answer
28 views

I'm trying to create a one-time schedular in AWS event bridge using JAVA SDK. Below is the code package com.example.kafkademo.service; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j....
techmagister's user avatar
  • 1,388
0 votes
1 answer
359 views

I’m trying to upload attachments to Amazon S3 using the AWS SDK v3 (@aws-sdk/client-s3) within a NestJS middleware, but I keep getting this timeout error: RequestTimeout: Your socket connection to the ...
UAhmadSoft's user avatar
0 votes
1 answer
104 views

I want to set the Environment variables-AWS_ACCESS_KEY_ID, AWS_SECRET_KEY or AWS_SECRET_ACCESS_KEY, and AWS_SESSION_TOKEN BasicSessionCredentials awsCreds = new BasicSessionCredentials("...
Nunyet Calçada's user avatar
1 vote
0 answers
254 views

I am facing an issue in my local environment while uploading file to s3 after migrating from aws sdk v2 to v3. But there is no issue in the deployed site.I am getting the error "Your socket ...
SmartLearn's user avatar
2 votes
2 answers
251 views

I’m trying to perform a DeleteItem operation in DynamoDB with the following conditions: If the item with a given primary key (PK) does not exist, the delete operation should succeed. If the item ...
osflw's user avatar
  • 129
0 votes
0 answers
28 views

I have a object on a MinIO s3 Object Store and want to lock it with a Legal Hold so that I cannot overwrite it in c++. I set the Legal Hold like that: Aws::S3::Model::PutObjectLegalHoldRequest ...
Seb Aeneas's user avatar

1
2 3 4 5
127