You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* <p>To grant permission to another account, specify the account ID as the <code>Principal</code>. To grant
37
37
* permission to an organization defined in Organizations, specify the organization ID as the
38
-
* <code>PrincipalOrgID</code>. For Amazon Web Servicesservices, the principal is a domain-style identifier that
39
-
* the service defines, such as <code>s3.amazonaws.com</code> or <code>sns.amazonaws.com</code>. For Amazon Web Servicesservices, you can also specify the ARN of the associated resource as the <code>SourceArn</code>. If
38
+
* <code>PrincipalOrgID</code>. For Amazon Web Services services, the principal is a domain-style identifier that
39
+
* the service defines, such as <code>s3.amazonaws.com</code> or <code>sns.amazonaws.com</code>. For Amazon Web Services services, you can also specify the ARN of the associated resource as the <code>SourceArn</code>. If
40
40
* you grant permission to a service principal without specifying the source, other accounts could potentially
41
41
* configure resources in their account to invoke your Lambda function.</p>
42
42
* <p>This operation adds a statement to a resource-based permissions policy for the function. For more information
* <p>Creates a Lambda function. To create a function, you need a <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html">deployment package</a> and an <a href="https://docs.aws.amazon.com/lambda/latest/dg/intro-permission-model.html#lambda-intro-execution-role">execution role</a>. The
37
37
* deployment package is a .zip file archive or container image that contains your function code. The execution role
38
-
* grants the function permission to use Amazon Web Servicesservices, such as Amazon CloudWatch Logs for log
38
+
* grants the function permission to use Amazon Web Services services, such as Amazon CloudWatch Logs for log
39
39
* streaming and X-Ray for request tracing.</p>
40
40
* <p>If the deployment package is a <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-images.html">container
41
41
* image</a>, then you set the package type to <code>Image</code>. For a container image, the code property
* <a>UpdateFunctionCode</a>, Lambda checks that the code package has a valid signature from
67
67
* a trusted publisher. The code-signing configuration includes set of signing profiles, which define the trusted
68
68
* publishers for this function.</p>
69
-
* <p>If another Amazon Web Services account or an Amazon Web Servicesservice invokes your function, use <a>AddPermission</a> to grant permission by creating a resource-based Identity and Access Management (IAM) policy. You can grant permissions at the function level, on a version, or on an alias.</p>
69
+
* <p>If another Amazon Web Services account or an Amazon Web Services service invokes your function, use <a>AddPermission</a> to grant permission by creating a resource-based Identity and Access Management (IAM) policy. You can grant permissions at the function level, on a version, or on an alias.</p>
70
70
* <p>To invoke your function directly, use <a>Invoke</a>. To invoke your function in response to events
71
-
* in other Amazon Web Servicesservices, create an event source mapping (<a>CreateEventSourceMapping</a>),
71
+
* in other Amazon Web Services services, create an event source mapping (<a>CreateEventSourceMapping</a>),
72
72
* or configure a function trigger in the other service. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-invocation.html">Invoking Lambda
* <p>Deletes a Lambda function. To delete a specific function version, use the <code>Qualifier</code> parameter.
32
32
* Otherwise, all versions and aliases are deleted. This doesn't require the user to have explicit
33
33
* permissions for <a>DeleteAlias</a>.</p>
34
-
* <p>To delete Lambda event source mappings that invoke a function, use <a>DeleteEventSourceMapping</a>. For Amazon Web Servicesservices and resources that invoke your function
34
+
* <p>To delete Lambda event source mappings that invoke a function, use <a>DeleteEventSourceMapping</a>. For Amazon Web Services services and resources that invoke your function
35
35
* directly, delete the trigger in the service where you originally configured it.</p>
36
36
* @example
37
37
* Use a bare-bones client and the command you need to make an API call.
0 commit comments