[AWS Error] arn is not authorized to perform 해결 방법
1. Problem
AWS 의 자원을 활용하다보면 아래와 같은 에러를 만날 수 있습니다. is not authorized to perform 관련 이슈인데, 이러한 이슈는 접근하고 있는 자원에 대한 권한(Policy)이 없기 때문입니다.
아래의 이슈는 api Gateway 를 사용하면서 발생한 문제인데, Lambda 를 사용하거나 Event Bridge 등의 다양한 AWS 서비를 사용할 때에 권한히 없으면 동일하게 발생하는 문제입니다.
User: arn:aws:iam::000000000000:user/name is not authorized to perform: apigateway:POST on reso...
스트림, 스트리밍 데이터, 배치이란? 실시간 데이터 처리 방법 및 개념 정리
1. 데이터 스트리밍이란?
스트리밍(streaming) 데이터란 줄지어서 계속 유입되는 데이터를 의미합니다.
많은 서비스에서 수많은 사용자가 끊임없이 텍스트, 이미지, 영상 등의 데이터를 만들어 서비스에 전달합니다.
이런 특징을 보유한 스트리밍 데이터를 바로 저장하고 분석하는 기술을 스트리밍 분석 기술이라고 부르며, 실시간 분석이라고도 합니다.
예시 서비스
위치 데이터를 활용한 서비스
금융 거래 이상 여부 탐지 기능
소셜 네트워크
실시간 방송
은행 거래
...
curl command not found: -H error/problem solution, Malformed input to a URL function
Problem
When you want to access a YouTrack issue, you can use to use curl. When i use curl, i get an error. I used under command.
$ curl -X GET \
https://youtrack.yourserver.com/api/issues/ISSUE-1 \
-H 'Accept: application/json' \
-H 'Authorization: Bearer your_token_value' \
-H 'Content-Type: application/json'
And i saw this error.
{"er...
AWS Arn, Iam, Policy, Role 이란? 개념정리
1. AWS Arn, Iam, Policy, Role 이란? 개념정리
1.1. ARN (Amazon Resource Name)
정의: ARN은 AWS 리소스를 고유하게 식별하는 Amazon 리소스 식별자입니다. 각 리소스에 대해 고유한 ARN이 있으며, 이를 통해 해당 리소스에 대한 권한을 부여하거나 정책을 적용할 수 있습니다.
예시
Amazon S3 버킷의 ARN은 arn:aws:s3:::bucket-name과 같이 표현될 수 있습니다.
특정 IAM 사용자의 Arn은 arn:aws:iam::account-id:user/user-name 같이 표현될 수 있습니다.
...
[leetcode] 71. Simplify Path _ Algorithm Problem Solve for python
1. Problem
71. Simplify Path
Given a string path, which is an absolute path (starting with a slash ‘/’) to a file or directory in a Unix-style file system, convert it to the simplified canonical path.
In a Unix-style file system, a period ‘.’ refers to the current directory, a double period ‘..’ refers to the directory up a level, and any mul...
[leetcode] 394. Decode String _ Algorithm Problem Solve for python
1. Problem
394. Decode String
Given an encoded string, return its decoded string.
The encoding rule is: k[encoded_string], where the encoded_string inside the square brackets is being repeated exactly k times. Note that k is guaranteed to be a positive integer.
You may assume that the input string is always valid; there are no extra white sp...
[leetcode] 1466. Reorder Routes to Make All Paths Lead to the City Zero _ Algorithm Problem Solve for python
1. Problem
1466. Reorder Routes to Make All Paths Lead to the City Zero
There are n cities numbered from 0 to n - 1 and n - 1 roads such that there is only one way to travel between two different cities (this network form a tree). Last year, The ministry of transport decided to orient the roads in one direction because they are too narrow.
Ro...
[leetcode] 2300. Successful Pairs of Spells and Potions _ Algorithm Problem Solve for python
1. Problem
2300. Successful Pairs of Spells and Potions
You are given two positive integer arrays spells and potions, of length n and m respectively, where spells[i] represents the strength of the ith spell and potions[j] represents the strength of the jth potion.
You are also given an integer success. A spell and potion pair is considered su...
[leetcode] 1143. Longest Common Subsequence _ Algorithm Problem Solve for python
1. Problem
1143. Longest Common Subsequence
Given two strings text1 and text2, return the length of their longest common subsequence. If there is no common subsequence, return 0.
A subsequence of a string is a new string generated from the original string with some characters (can be none) deleted without changing the relative order of the re...
[leetcode] 62. Unique Paths _ Algorithm Problem Solve for python
1. Problem
62. Unique Paths
There is a robot on an m x n grid. The robot is initially located at the top-left corner (i.e., grid[0][0]). The robot tries to move to the bottom-right corner (i.e., grid[m - 1][n - 1]). The robot can only move either down or right at any point in time.
Given the two integers m and n, return the number of possible...
879 post articles, 88 pages.