{ "opencollection": "1.0.0", "info": { "name": "Access Analyzer Access Preview#analyzerArn Policy API", "version": "1.0.0" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "Policy", "type": "folder" }, "items": [ { "info": { "name": "Amazon IAM Access Analyzer Get Generated Policy", "type": "http" }, "http": { "method": "GET", "url": "http://access-analyzer.{region}.amazonaws.com/policy/generation/:jobId", "headers": [ { "name": "X-Amz-Content-Sha256", "value": "" }, { "name": "X-Amz-Date", "value": "" }, { "name": "X-Amz-Algorithm", "value": "" }, { "name": "X-Amz-Credential", "value": "" }, { "name": "X-Amz-Security-Token", "value": "" }, { "name": "X-Amz-Signature", "value": "" }, { "name": "X-Amz-SignedHeaders", "value": "" } ], "params": [ { "name": "jobId", "value": "", "type": "path", "description": "The JobId that is returned by the StartPolicyGeneration operation. The JobId can be used with GetGeneratedPolicy to retrieve the generated policies or used with CancelPolicyGeneration to cancel the policy generation request." }, { "name": "includeResourcePlaceholders", "value": "", "type": "query", "description": "

The level of detail that you want to generate. You can specify whether to generate policies with placeholders for resource ARNs for actions that support resource level granularity in policies.

For example, in the resource section of a policy, you can receive a placeholder such as \"Resource\":\"arn:aws:s3:::${BucketName}\" instead of \"*\".

" }, { "name": "includeServiceLevelTemplate", "value": "", "type": "query", "description": "

The level of detail that you want to generate. You can specify whether to generate service-level policies.

IAM Access Analyzer uses iam:servicelastaccessed to identify services that have been used recently to create this service-level template.

" } ] }, "docs": "Retrieves the policy that was generated using StartPolicyGeneration. " }, { "info": { "name": "Amazon IAM Access Analyzer Cancel Policy Generation", "type": "http" }, "http": { "method": "PUT", "url": "http://access-analyzer.{region}.amazonaws.com/policy/generation/:jobId", "headers": [ { "name": "X-Amz-Content-Sha256", "value": "" }, { "name": "X-Amz-Date", "value": "" }, { "name": "X-Amz-Algorithm", "value": "" }, { "name": "X-Amz-Credential", "value": "" }, { "name": "X-Amz-Security-Token", "value": "" }, { "name": "X-Amz-Signature", "value": "" }, { "name": "X-Amz-SignedHeaders", "value": "" } ], "params": [ { "name": "jobId", "value": "", "type": "path", "description": "The JobId that is returned by the StartPolicyGeneration operation. The JobId can be used with GetGeneratedPolicy to retrieve the generated policies or used with CancelPolicyGeneration to cancel the policy generation request." } ] }, "docs": "Cancels the requested policy generation." }, { "info": { "name": "Amazon IAM Access Analyzer List Policy Generations", "type": "http" }, "http": { "method": "GET", "url": "http://access-analyzer.{region}.amazonaws.com/policy/generation", "headers": [ { "name": "X-Amz-Content-Sha256", "value": "" }, { "name": "X-Amz-Date", "value": "" }, { "name": "X-Amz-Algorithm", "value": "" }, { "name": "X-Amz-Credential", "value": "" }, { "name": "X-Amz-Security-Token", "value": "" }, { "name": "X-Amz-Signature", "value": "" }, { "name": "X-Amz-SignedHeaders", "value": "" } ], "params": [ { "name": "principalArn", "value": "", "type": "query", "description": "The ARN of the IAM entity (user or role) for which you are generating a policy. Use this with ListGeneratedPolicies to filter the results to only include results for a specific principal." }, { "name": "maxResults", "value": "", "type": "query", "description": "The maximum number of results to return in the response." }, { "name": "nextToken", "value": "", "type": "query", "description": "A token used for pagination of results returned." } ] }, "docs": "Lists all of the policy generations requested in the last seven days." }, { "info": { "name": "Amazon IAM Access Analyzer Start Policy Generation", "type": "http" }, "http": { "method": "PUT", "url": "http://access-analyzer.{region}.amazonaws.com/policy/generation", "headers": [ { "name": "X-Amz-Content-Sha256", "value": "" }, { "name": "X-Amz-Date", "value": "" }, { "name": "X-Amz-Algorithm", "value": "" }, { "name": "X-Amz-Credential", "value": "" }, { "name": "X-Amz-Security-Token", "value": "" }, { "name": "X-Amz-Signature", "value": "" }, { "name": "X-Amz-SignedHeaders", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Starts the policy generation request." }, { "info": { "name": "Amazon IAM Access Analyzer Validate Policy", "type": "http" }, "http": { "method": "POST", "url": "http://access-analyzer.{region}.amazonaws.com/policy/validation", "headers": [ { "name": "X-Amz-Content-Sha256", "value": "" }, { "name": "X-Amz-Date", "value": "" }, { "name": "X-Amz-Algorithm", "value": "" }, { "name": "X-Amz-Credential", "value": "" }, { "name": "X-Amz-Security-Token", "value": "" }, { "name": "X-Amz-Signature", "value": "" }, { "name": "X-Amz-SignedHeaders", "value": "" } ], "params": [ { "name": "maxResults", "value": "", "type": "query", "description": "The maximum number of results to return in the response." }, { "name": "nextToken", "value": "", "type": "query", "description": "A token used for pagination of results returned." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Requests the validation of a policy and returns a list of findings. The findings help you identify issues and provide actionable recommendations to resolve the issue and enable you to author functional policies that meet security best practices. " } ] } ], "bundled": true }