public void LambdaPublishLayerVersion()
        {
            #region to-create-a-lambda-layer-version-1586491213595

            var response = client.PublishLayerVersion(new PublishLayerVersionRequest
            {
                CompatibleRuntimes = new List <string> {
                    "python3.6",
                    "python3.7"
                },
                Content = new LayerVersionContentInput {
                    S3Bucket = "lambda-layers-us-west-2-123456789012",
                    S3Key    = "layer.zip"
                },
                Description = "My Python layer",
                LayerName   = "my-layer",
                LicenseInfo = "MIT"
            });

            List <string>             compatibleRuntimes = response.CompatibleRuntimes;
            LayerVersionContentOutput content            = response.Content;
            string createdDate     = response.CreatedDate;
            string description     = response.Description;
            string layerArn        = response.LayerArn;
            string layerVersionArn = response.LayerVersionArn;
            string licenseInfo     = response.LicenseInfo;
            long   version         = response.Version;

            #endregion
        }
        public void LambdaGetLayerVersionByArn()
        {
            #region to-get-information-about-a-lambda-layer-version-1586481457839

            var response = client.GetLayerVersionByArn(new GetLayerVersionByArnRequest
            {
                Arn = "arn:aws:lambda:ca-central-1:123456789012:layer:blank-python-lib:3"
            });

            List <string>             compatibleRuntimes = response.CompatibleRuntimes;
            LayerVersionContentOutput content            = response.Content;
            string createdDate     = response.CreatedDate;
            string description     = response.Description;
            string layerArn        = response.LayerArn;
            string layerVersionArn = response.LayerVersionArn;
            long   version         = response.Version;

            #endregion
        }
        public void LambdaGetLayerVersion()
        {
            #region to-get-information-about-a-lambda-layer-version-1586481457839

            var response = client.GetLayerVersion(new GetLayerVersionRequest
            {
                LayerName     = "my-layer",
                VersionNumber = 1
            });

            List <string>             compatibleRuntimes = response.CompatibleRuntimes;
            LayerVersionContentOutput content            = response.Content;
            string createdDate     = response.CreatedDate;
            string description     = response.Description;
            string layerArn        = response.LayerArn;
            string layerVersionArn = response.LayerVersionArn;
            string licenseInfo     = response.LicenseInfo;
            long   version         = response.Version;

            #endregion
        }