openapi: 3.1.0
info:
title: Amazon Web Services accessanalyzer 2012 09 25 2018 10 31 API
description: <p>Identity and Access Management Access Analyzer helps you to set, verify, and refine your IAM policies by providing a suite of capabilities. Its features include findings for external and unused access, basic and custom policy checks for validating policies, and policy generation to generate fine-grained policies. To start using IAM Access Analyzer to identify external or unused access, you first need to create an analyzer.</p> <p> <b>External access analyzers</b> help identify potential risks of accessing resources by enabling you to identify any resource policies that grant access to an external principal. It does this by using logic-based reasoning to analyze resource-based policies in your Amazon Web Services environment. An external principal can be another Amazon Web Services account, a root user, an IAM user or role, a federated user, an Amazon Web Services service, or an anonymous user. You can also use IAM Access Analyzer to preview public and cross-account access to your resources before deploying permissions changes.</p> <p> <b>Unused access analyzers</b> help identify potential identity access risks by enabling you to identify unused IAM roles, unused access keys, unused console passwords, and IAM principals with unused service and action-level permissions.</p> <p>Beyond findings, IAM Access Analyzer provides basic and custom policy checks to validate IAM policies before deploying permissions changes. You can use policy generation to refine permissions by attaching a policy generated using access activity logged in CloudTrail logs. </p> <p>This guide describes the IAM Access Analyzer operations that you can call programmatically. For general information about IAM Access Analyzer, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/what-is-access-analyzer.html">Identity and Access Management Access Analyzer</a> in the <b>IAM User Guide</b>.</p>
tags:
- name: 2018 10 31
paths:
/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy:
GET:
summary: Amazon Web Services Getlayerversionpolicy
description: Returns the permission policy for a version of an Lambda layer. For more information, see AddLayerVersionPermission.
operationId: amazonWebServicesGetLayerVersionPolicy
tags:
- 2018 10 31
/2018-10-31/layers/{LayerName}/versions/{VersionNumber}:
GET:
summary: Amazon Web Services Getlayerversion
description: Returns information about a version of an Lambda layer, with a link to download the layer archive that's valid for 10 minutes.
operationId: amazonWebServicesGetLayerVersion
tags:
- 2018 10 31
/2018-10-31/layers?find=LayerVersion:
GET:
summary: Amazon Web Services Getlayerversionbyarn
description: Returns information about a version of an Lambda layer, with a link to download the layer archive that's valid for 10 minutes.
operationId: amazonWebServicesGetLayerVersionByArn
tags:
- 2018 10 31
/2018-10-31/layers/{LayerName}/versions:
POST:
summary: Amazon Web Services Publishlayerversion
description: Creates an Lambda layer from a ZIP archive. Each time you call PublishLayerVersion with the same layer name, a new version is created. Add layers to your function with CreateFunction or UpdateFunctionConfiguration.
operationId: amazonWebServicesPublishLayerVersion
tags:
- 2018 10 31
/2018-10-31/layers:
GET:
summary: Amazon Web Services Listlayers
description: Lists Lambda layers and shows information about the latest version of each. Specify a runtime identifier to list only layers that indicate that they're compatible with that runtime. Specify a compatible architecture to include only layers that are compatible with that instruction set architecture.
operationId: amazonWebServicesListLayers
tags:
- 2018 10 31
/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy/{StatementId}:
DELETE:
summary: Amazon Web Services Removelayerversionpermission
description: Removes a statement from the permissions policy for a version of an Lambda layer. For more information, see AddLayerVersionPermission.
operationId: amazonWebServicesRemoveLayerVersionPermission
tags:
- 2018 10 31