refactor(parser): Improve DynamoDB models with examples and descripti… #4881
release-drafter.yml
on: push
  
    
      update_release_draft
    
          
              1m 0s
          
      Annotations
2 errors and 4 warnings
          | 
                      
                          update_release_draft
                        
                      
                       HttpError: <html>
    <head><title>502 Bad Gateway</title></head>
    <body>
    <center><h1>502 Bad Gateway</h1></center>
    <hr><center>nginx</center>
    </body>
    </html>
        at /home/runner/work/_actions/release-drafter/release-drafter/b1476f6e6eb133afa41ed8589daba6dc69b4d3f5/dist/index.js:7146:21
        at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
        at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/b1476f6e6eb133afa41ed8589daba6dc69b4d3f5/dist/index.js:61885:18)
{
  name: 'AggregateError',
  event: {
    id: '17035996752',
    name: 'push',
    payload: {
      after: 'd670b6ddf7af1404bddedc103c9f6565d4cde4c8',
      base_ref: null,
      before: '5a4b2a030efa082777a74b910de0c42fc6c94059',
      commits: [
        {
          author: {
            email: '[email protected]',
            name: 'Sreeja Aryahi K S',
            username: 'sreejaaryahi18'
          },
          committer: {
            email: '[email protected]',
            name: 'GitHub',
            username: 'web-flow'
          },
          distinct: true,
          id: 'd670b6ddf7af1404bddedc103c9f6565d4cde4c8',
          message: 'refactor(parser): Improve DynamoDB models with examples and descriptions (#7146)\n' +
            '\n' +
            '* #7123 Tech debt: Improve documentation of Event model fields in DynamoDB parser models\n' +
            '\n' +
            '* refactor(parser): address PR review feedback for DynamoDB models\n' +
            '\n' +
            '* Addressing changes\n' +
            '\n' +
            '---------\n' +
            '\n' +
            'Co-authored-by: Leandro Damascena <[email protected]>',
          timestamp: '2025-08-18T10:00:15+01:00',
          tree_id: '65bd1522bcc644197eb984d2eff4e9227ca8891a',
          url: 'https://github.com/aws-powertools/powertools-lambda-python/commit/d670b6ddf7af1404bddedc103c9f6565d4cde4c8'
        }
      ],
      compare: 'https://github.com/aws-powertools/powertools-lambda-python/compare/5a4b2a030efa...d670b6ddf7af',
      created: false,
      deleted: false,
      enterprise: {
        avatar_url: 'https://avatars.githubusercontent.com/b/1290?v=4',
        created_at: '2019-11-13T18:05:41Z',
        description: '',
        html_url: 'https://github.com/enterprises/amazon',
        id: 1290,
        name: 'Amazon',
        node_id: 'MDEwOkVudGVycHJpc2UxMjkw',
        slug: 'amazon',
        updated_at: '2025-08-12T20:59:14Z',
        website_url: 'https://www.amazon.com/'
      },
      forced: false,
      head_commit: {
        author: {
          email: '[email protected]',
          name: 'Sreeja Aryahi K S',
          username: 'sreejaaryahi18'
        },
        committer: {
          email: '[email protected]',
          name: 'GitHub',
          username: 'web-flow'
        },
        distinct: true,
        id: 'd670b6ddf7af1404bddedc103c9f6565d4cde4c8',
        message: 'refactor(parser): Improve DynamoDB models with examples and descriptions (#7146)\n' +
          '\n' +
          '* #7123 Tech debt: Improve documentation of Event model fields in DynamoDB parser models\n' +
          '\n' +
          '* refactor(parser): address PR review feedback for DynamoDB models\n' +
          '\n' +
          '* Addressing changes\n' +
          '\n' +
          '---------\n' +
          '\n' +
          'Co-authored-by: Leandro Damascena <[email protected]>',
        timestamp: '2025-08-18T10:00:15+01:00',
        tree_id: '65bd1522bcc644197eb984d2eff4e9227ca8891a',
        url: 'https://github.com/aws-powertools/powertools-lambda-python/commit/d670b6ddf7af1404bddedc103c9f6565d4cde4c8'
      },
      organization: {
        avatar_url: 'https://avatars.githubusercontent.com/u/129127638?v=4',
        description: '',
        events_url: 'https://api.github.com/orgs/aws-powertools/events',
        hooks_url: 'https://api.github.com/orgs/aws-powertools/hooks',
        id: 129127638,
        issues_url: 'https://api.github.com/orgs/aws-powertools/issues',
        login:  | 
| 
                      
                          update_release_draft
                        
                      
                       <html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx</center>
</body>
</html>
{
  name: 'HttpError',
  id: '17035996752',
  status: 502,
  response: {
    url: 'https://api.github.com/graphql',
    status: 502,
    headers: {
      'content-length': '150',
      'content-type': 'text/html',
      date: 'Mon, 18 Aug 2025 09:01:21 GMT',
      server: 'github.com',
      vary: 'Accept-Encoding, Accept, X-Requested-With',
      'x-github-request-id': 'F82A:390A16:359B39F:C1973B9:68A2EBD7'
    },
    data: '<html>\r\n' +
      '<head><title>502 Bad Gateway</title></head>\r\n' +
      '<body>\r\n' +
      '<center><h1>502 Bad Gateway</h1></center>\r\n' +
      '<hr><center>nginx</center>\r\n' +
      '</body>\r\n' +
      '</html>\r\n'
  },
  request: {
    method: 'POST',
    url: 'https://api.github.com/graphql',
    headers: {
      accept: 'application/vnd.github.v3+json',
      'user-agent': 'probot/12.4.0 octokit-core.js/3.6.0 Node.js/20.19.3 (linux; x64)',
      'x-github-delivery': '17035996752',
      authorization: 'token [REDACTED]',
      'content-type': 'application/json; charset=utf-8'
    },
    body: '{"query":"\\n  query findCommitsWithAssociatedPullRequests(\\n    $name: String!\\n    $owner: String!\\n    $targetCommitish: String!\\n    $withPullRequestBody: Boolean!\\n    $withPullRequestURL: Boolean!\\n    $since: GitTimestamp\\n    $after: String\\n    $withBaseRefName: Boolean!\\n    $withHeadRefName: Boolean!\\n    $pullRequestLimit: Int!\\n  ) {\\n    repository(name: $name, owner: $owner) {\\n      object(expression: $targetCommitish) {\\n        ... on Commit {\\n          history(first: 100, since: $since, after: $after) {\\n            totalCount\\n            pageInfo {\\n              hasNextPage\\n              endCursor\\n            }\\n            nodes {\\n              id\\n              committedDate\\n              message\\n              author {\\n                name\\n                user {\\n                  login\\n                }\\n              }\\n              associatedPullRequests(first: $pullRequestLimit) {\\n                nodes {\\n                  title\\n                  number\\n                  url @include(if: $withPullRequestURL)\\n                  body @include(if: $withPullRequestBody)\\n                  author {\\n                    login\\n                    __typename\\n                    url\\n                  }\\n                  baseRepository {\\n                    nameWithOwner\\n                  }\\n                  mergedAt\\n                  isCrossRepository\\n                  labels(first: 100) {\\n                    nodes {\\n                      name\\n                    }\\n                  }\\n                  merged\\n                  baseRefName @include(if: $withBaseRefName)\\n                  headRefName @include(if: $withHeadRefName)\\n                }\\n              }\\n            }\\n          }\\n        }\\n      }\\n    }\\n  }\\n","variables":{"name":"powertools-lambda-python","owner":"aws-powertools","targetCommitish":"refs/heads/develop","withPullRequestBody":false,"withPullRequestURL":false,"withBaseRefName":false,"withHeadRefName":false,"pullRequestLimit":5,"since":"2025-08-12T08:45:57Z"}}',
    request: { retryCount: 3, retries: 3, retryAfter: 16 }
  },
  event: {
    id: '17035996752',
    name: 'push',
    payload: {
      after: 'd670b6ddf7af1404bddedc103c9f6565d4cde4c8',
      base_ref: null,
      before: '5a4b2a030efa082777a74b910de0c42fc6c94059',
      commits: [
        {
          author: {
            email: '[email protected]',
            name: 'Sreeja Aryahi K S',
            username: 'sreejaaryahi18'
          },
          committer: {
            email: '[email protected]',
            name: 'GitHub',
            username: 'web-flow'
          },
          distinct: true,
          id: 'd670b6ddf7af1404bddedc103c9f6565d4cde4c8',
          message: 'refactor(parser): Improve DynamoDB models with examples and d | 
| 
                      
                          update_release_draft
                        
                      
                       "pull_request_target.edited" is not a known webhook name (https://developer.github.com/v3/activity/events/types/) | 
| 
                      
                          update_release_draft
                        
                      
                       "pull_request_target.synchronize" is not a known webhook name (https://developer.github.com/v3/activity/events/types/) | 
| 
                      
                          update_release_draft
                        
                      
                       "pull_request_target.reopened" is not a known webhook name (https://developer.github.com/v3/activity/events/types/) | 
| 
                      
                          update_release_draft
                        
                      
                       "pull_request_target.opened" is not a known webhook name (https://developer.github.com/v3/activity/events/types/) |