

AWS Marketplace API 참조가 재구성되었습니다. 지원되는 API 작업에 대한 자세한 내용은 [AWS Marketplace API 참조](https://docs.aws.amazon.com/marketplace/latest/APIReference/Welcome.html)를 참조하세요.

기계 번역으로 제공되는 번역입니다. 제공된 번역과 원본 영어의 내용이 상충하는 경우에는 영어 버전이 우선합니다.

# AWS Marketplace 보고 API에 대한 액세스 제어
<a name="reporting-api-access-control"></a>

 AWS Marketplace 보고 API를 사용하여 **조달 인사이트** 대시보드를 가져옵니다. API는 [https://docs.aws.amazon.com/marketplace/latest/APIReference/API_marketplace-reporting_GetBuyerDashboard.html](https://docs.aws.amazon.com/marketplace/latest/APIReference/API_marketplace-reporting_GetBuyerDashboard.html) 작업을 지원합니다.

API를 사용하려면 먼저 `AWSServiceRoleForProcurementInsightsPolicy` 서비스 연결 역할을 생성해야 합니다. 역할은 다음을 수행합니다.
+ 구매자 조직의 모든 계정에 대한 데이터에 AWS Marketplace 액세스하고 설명할 수 있습니다.
+ **조달 인사이트** 대시보드 가져오기
+ 위임된 관리자를 등록 및 등록 취소할 수 있습니다.

구매자는 AWS Marketplace 콘솔을 사용하여 **조달 인사이트** 대시보드에 대한 신뢰할 수 있는 액세스를 활성화할 때 역할을 생성합니다. 해당 프로세스에 대한 자세한 내용은 *AWS Marketplace 구매자 안내서*[의 대시보드 활성화](https://docs.aws.amazon.com/marketplace/latest/buyerguide/enabling-procurement-insights.html#integrate-dashboard)를 참조하세요.

**중요**  
API 또는 CLI를 사용하는 경우 대시보드에 대한 신뢰할 수 있는 액세스를 활성화하기 전에 서비스 연결 역할을 생성해야 합니다.
서비스 연결 역할 외에도 조직의 모든 기능을 활성화하고 관리자 계정에 속해야 합니다. 자세한 내용은 *AWS Organizations 사용 설명서의 다음 주제를 참조하세요*.  
 [AWS Organizations를 사용하여 조직의 모든 기능 활성화](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html)
[자습서: 조직 생성 및 구성](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_tutorials_basic.html)
[를 사용하여 관리 계정 관리 AWS Organizations](https://docs.aws.amazon.com/organizations/latest/userguide/orgs-manage_accounts_management.html)

[https://docs.aws.amazon.com/marketplace/latest/APIReference/API_marketplace-reporting_GetBuyerDashboard.html](https://docs.aws.amazon.com/marketplace/latest/APIReference/API_marketplace-reporting_GetBuyerDashboard.html) 작업을 호출하고 위임된 관리자를 등록 및 등록 취소하려면에 다음 IAM 권한이 `AWSServiceRoleForProcurementInsightsPolicy` 있어야 합니다.

------
#### [ JSON ]

****  

```
{
    "Version":"2012-10-17",		 	 	 
    "Statement": [{
            "Sid": "CreateServiceLinkedRoleForProcurementInsights",
            "Effect": "Allow",
            "Action": "iam:CreateServiceLinkedRole",
            "Resource": "arn:aws:iam::*:role/aws-service-role/procurement-insights.marketplace.amazonaws.com/AWSServiceRoleForProcurementInsights*",
            "Condition": {
                "StringLike": {
                    "iam:AWSServiceName": "procurement-insights.marketplace.amazonaws.com"
                }
            }
        },
        {
            "Sid": "EnableAWSServiceAccessForProcurementInsights",
            "Effect": "Allow",
            "Action": [
                "organizations:EnableAWSServiceAccess"
            ],
            "Resource": "*",
            "Condition": {
                "StringLike": {
                    "organizations:ServicePrincipal": "procurement-insights.marketplace.amazonaws.com"
                }
            }
        },
        {
            "Sid": "ManageDelegatedAdministrators",
            "Effect": "Allow",
            "Action": [
                "organizations:ListDelegatedAdministrators",
                "organizations:DeregisterDelegatedAdministrator",
                "organizations:RegisterDelegatedAdministrator"
            ],
            "Resource": "*",
            "Condition": {
                "StringLike": {
                    "organizations:ServicePrincipal": "procurement-insights.marketplace.amazonaws.com"
                }
            }
        },
        {
            "Sid": "GetBuyerDashboardStatement",
            "Effect": "Allow",
            "Action": "aws-marketplace:GetBuyerDashboard",
            "Resource": "*"
        },
        {
            "Sid": "ViewOrganizationDetails",
            "Effect": "Allow",
            "Action": [
                "organizations:DescribeOrganization",
                "organizations:ListAWSServiceAccessForOrganization"
            ],
            "Resource": "*"
        }
    ]
}
```

------

정책 생성에 대한 자세한 내용은 *IAM 사용 설명서*[의 AWS Identity and Access Management의 정책 및 권한을](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html) 참조하세요.

정책이 사용하는 AWS Organizations 작업에 대한 자세한 내용은 [AWS Organizations API 참조](https://docs.aws.amazon.com/organizations/latest/APIReference/API_Operations.html)를 참조하세요.