skip to Main Content

Amazon web services – Appsync subscription filtering not working when nested response?

I have a schema that looks like this: type Mutation { createEvent(input: CreateEventInput!): CreateEventPayload } type Subscription { onCreateEvent(filter: EventFilter): CreateEventPayload @aws_subscribe(mutations: ["createEvent"]) } type CreateEventPayload { event: Event clientMutationId: String } type Event implements Node { description: String eventName:…

VIEW QUESTION

API Can curl & “–aws-sigv4” be used to call AWS IAM get user API on Amazon Web Services?

I am trying to get right request to get a user, but cannot: AWS CLI that works: aws iam get-user --user-name "${user_name}" Now, plain curl request api_addr=https://iam.amazonaws.com && curl --aws-sigv4 "aws:amz:${region}:iam" --user "${aws_key}":"${aws_secret}" "${api_addr}/?Action=GetUser&UserName=${user_name}&Version=2010-05-08" Getting a response: <ErrorResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/"> <Error>…

VIEW QUESTION
Back To Top
Search