Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: boto3 - Error - TypeError: string indices must be integers
Post: RE: boto3 - Error - TypeError: string indices must...

below code print names only for those who have Name tag import boto3 AWS_REGION = "us-west-2" AWS_PROFILE = "kiran" session=boto3.session.Session(profile_name=AWS_PROFILE) # client = session.client(...
kpatil General Coding Help 7 1,327 Jun-09-2023, 06:56 PM
    Thread: boto3 - Error - TypeError: string indices must be integers
Post: RE: boto3 - Error - TypeError: string indices must...

it is always dictionary , i found not all snapshots have Name tag. Also i found index 0 is not always Name tag :( [Image: https://d2908q01vomqb2.cloudfront.net/1b...enshot.png]
kpatil General Coding Help 7 1,327 Jun-09-2023, 06:53 PM
    Thread: boto3 - Error - TypeError: string indices must be integers
Post: RE: boto3 - Error - TypeError: string indices must...

(Jun-09-2023, 05:37 PM)kpatil Wrote: (Jun-09-2023, 05:23 PM)hardik07 Wrote: Can you provide value of snapshots variable here you go >>> print (snapshots) {'Snapshots': [{'Description':...
kpatil General Coding Help 7 1,327 Jun-09-2023, 05:40 PM
    Thread: boto3 - Error - TypeError: string indices must be integers
Post: RE: boto3 - Error - TypeError: string indices must...

(Jun-09-2023, 05:23 PM)hardik07 Wrote: Can you provide value of snapshots variable here you go >>> print (snapshots) {'Snapshots': [{'Description': 'xxxx', 'Encrypted': False, 'OwnerId':...
kpatil General Coding Help 7 1,327 Jun-09-2023, 05:37 PM
    Thread: boto3 - Error - TypeError: string indices must be integers
Post: boto3 - Error - TypeError: string indices must be ...

Hello, Can someone help me how to fix the error i am getting here . Thanks error is Traceback (most recent call last): File "/root/temp0/server", line 10, in <module> snapshot_name = sn...
kpatil General Coding Help 7 1,327 Jun-09-2023, 05:07 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020