Skip to content

Issue with updating access logs, log format #3392

@ppvo

Description

@ppvo

Can't seem to find any resolution on this, on the cli I have aws apigateway update-stage --cli-input-json '{\"restApiId\":\"apiId\",\"stageName\":\"beta\",\"patchOperations\":[{\"op\":\"replace\",\"path\":\"/accessLogSettings/format\",\"value\":{\"requestId\":\"$context.requestId\"}}]}' and I get the error Invalid type for parameter patchOperations[0].value, value: {u'requestId': u'$context.requestId'}, type: <type 'dict'>, valid types: <type 'basestring'> __

Please can you guys help me out with this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    closing-soonThis issue will automatically close in 4 days unless further comments are made.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions