@aws-sdk/client-lambda 3.325.0 → 3.326.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/dist-types/commands/AddLayerVersionPermissionCommand.d.ts +7 -0
  2. package/dist-types/commands/AddPermissionCommand.d.ts +6 -0
  3. package/dist-types/commands/CreateAliasCommand.d.ts +15 -0
  4. package/dist-types/commands/CreateCodeSigningConfigCommand.d.ts +19 -0
  5. package/dist-types/commands/CreateEventSourceMappingCommand.d.ts +72 -0
  6. package/dist-types/commands/CreateFunctionCommand.d.ts +99 -0
  7. package/dist-types/commands/CreateFunctionUrlConfigCommand.d.ts +26 -0
  8. package/dist-types/commands/DeleteAliasCommand.d.ts +4 -0
  9. package/dist-types/commands/DeleteCodeSigningConfigCommand.d.ts +4 -0
  10. package/dist-types/commands/DeleteEventSourceMappingCommand.d.ts +72 -0
  11. package/dist-types/commands/DeleteFunctionCodeSigningConfigCommand.d.ts +4 -0
  12. package/dist-types/commands/DeleteFunctionCommand.d.ts +4 -0
  13. package/dist-types/commands/DeleteFunctionConcurrencyCommand.d.ts +4 -0
  14. package/dist-types/commands/DeleteFunctionEventInvokeConfigCommand.d.ts +4 -0
  15. package/dist-types/commands/DeleteFunctionUrlConfigCommand.d.ts +4 -0
  16. package/dist-types/commands/DeleteLayerVersionCommand.d.ts +4 -0
  17. package/dist-types/commands/DeleteProvisionedConcurrencyConfigCommand.d.ts +4 -0
  18. package/dist-types/commands/GetAccountSettingsCommand.d.ts +16 -0
  19. package/dist-types/commands/GetAliasCommand.d.ts +15 -0
  20. package/dist-types/commands/GetCodeSigningConfigCommand.d.ts +19 -0
  21. package/dist-types/commands/GetEventSourceMappingCommand.d.ts +72 -0
  22. package/dist-types/commands/GetFunctionCodeSigningConfigCommand.d.ts +7 -0
  23. package/dist-types/commands/GetFunctionCommand.d.ts +113 -0
  24. package/dist-types/commands/GetFunctionConcurrencyCommand.d.ts +6 -0
  25. package/dist-types/commands/GetFunctionConfigurationCommand.d.ts +99 -0
  26. package/dist-types/commands/GetFunctionEventInvokeConfigCommand.d.ts +17 -0
  27. package/dist-types/commands/GetFunctionUrlConfigCommand.d.ts +27 -0
  28. package/dist-types/commands/GetLayerVersionByArnCommand.d.ts +24 -0
  29. package/dist-types/commands/GetLayerVersionCommand.d.ts +24 -0
  30. package/dist-types/commands/GetLayerVersionPolicyCommand.d.ts +7 -0
  31. package/dist-types/commands/GetPolicyCommand.d.ts +7 -0
  32. package/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +11 -0
  33. package/dist-types/commands/GetRuntimeManagementConfigCommand.d.ts +8 -0
  34. package/dist-types/commands/InvokeAsyncCommand.d.ts +6 -0
  35. package/dist-types/commands/InvokeCommand.d.ts +10 -0
  36. package/dist-types/commands/InvokeWithResponseStreamCommand.d.ts +18 -0
  37. package/dist-types/commands/ListAliasesCommand.d.ts +20 -0
  38. package/dist-types/commands/ListCodeSigningConfigsCommand.d.ts +22 -0
  39. package/dist-types/commands/ListEventSourceMappingsCommand.d.ts +77 -0
  40. package/dist-types/commands/ListFunctionEventInvokeConfigsCommand.d.ts +22 -0
  41. package/dist-types/commands/ListFunctionUrlConfigsCommand.d.ts +32 -0
  42. package/dist-types/commands/ListFunctionsByCodeSigningConfigCommand.d.ts +9 -0
  43. package/dist-types/commands/ListFunctionsCommand.d.ts +104 -0
  44. package/dist-types/commands/ListLayerVersionsCommand.d.ts +21 -0
  45. package/dist-types/commands/ListLayersCommand.d.ts +25 -0
  46. package/dist-types/commands/ListProvisionedConcurrencyConfigsCommand.d.ts +17 -0
  47. package/dist-types/commands/ListTagsCommand.d.ts +8 -0
  48. package/dist-types/commands/ListVersionsByFunctionCommand.d.ts +104 -0
  49. package/dist-types/commands/PublishLayerVersionCommand.d.ts +24 -0
  50. package/dist-types/commands/PublishVersionCommand.d.ts +99 -0
  51. package/dist-types/commands/PutFunctionCodeSigningConfigCommand.d.ts +7 -0
  52. package/dist-types/commands/PutFunctionConcurrencyCommand.d.ts +6 -0
  53. package/dist-types/commands/PutFunctionEventInvokeConfigCommand.d.ts +17 -0
  54. package/dist-types/commands/PutProvisionedConcurrencyConfigCommand.d.ts +11 -0
  55. package/dist-types/commands/PutRuntimeManagementConfigCommand.d.ts +8 -0
  56. package/dist-types/commands/RemoveLayerVersionPermissionCommand.d.ts +4 -0
  57. package/dist-types/commands/RemovePermissionCommand.d.ts +4 -0
  58. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  59. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  60. package/dist-types/commands/UpdateAliasCommand.d.ts +15 -0
  61. package/dist-types/commands/UpdateCodeSigningConfigCommand.d.ts +19 -0
  62. package/dist-types/commands/UpdateEventSourceMappingCommand.d.ts +72 -0
  63. package/dist-types/commands/UpdateFunctionCodeCommand.d.ts +99 -0
  64. package/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +99 -0
  65. package/dist-types/commands/UpdateFunctionEventInvokeConfigCommand.d.ts +17 -0
  66. package/dist-types/commands/UpdateFunctionUrlConfigCommand.d.ts +27 -0
  67. package/package.json +3 -3
@@ -32,6 +32,19 @@ export interface GetAliasCommandOutput extends AliasConfiguration, __MetadataBea
32
32
  * };
33
33
  * const command = new GetAliasCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // AliasConfiguration
36
+ * // AliasArn: "STRING_VALUE",
37
+ * // Name: "STRING_VALUE",
38
+ * // FunctionVersion: "STRING_VALUE",
39
+ * // Description: "STRING_VALUE",
40
+ * // RoutingConfig: { // AliasRoutingConfiguration
41
+ * // AdditionalVersionWeights: { // AdditionalVersionWeights
42
+ * // "<keys>": Number("double"),
43
+ * // },
44
+ * // },
45
+ * // RevisionId: "STRING_VALUE",
46
+ * // };
47
+ *
35
48
  * ```
36
49
  *
37
50
  * @param GetAliasCommandInput - {@link GetAliasCommandInput}
@@ -52,6 +65,8 @@ export interface GetAliasCommandOutput extends AliasConfiguration, __MetadataBea
52
65
  * @throws {@link TooManyRequestsException} (client fault)
53
66
  * <p>The request throughput limit was exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests">Lambda quotas</a>.</p>
54
67
  *
68
+ * @throws {@link LambdaServiceException}
69
+ * <p>Base exception class for all service exceptions from Lambda service.</p>
55
70
  *
56
71
  */
57
72
  export declare class GetAliasCommand extends $Command<GetAliasCommandInput, GetAliasCommandOutput, LambdaClientResolvedConfig> {
@@ -31,6 +31,23 @@ export interface GetCodeSigningConfigCommandOutput extends GetCodeSigningConfigR
31
31
  * };
32
32
  * const command = new GetCodeSigningConfigCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // GetCodeSigningConfigResponse
35
+ * // CodeSigningConfig: { // CodeSigningConfig
36
+ * // CodeSigningConfigId: "STRING_VALUE", // required
37
+ * // CodeSigningConfigArn: "STRING_VALUE", // required
38
+ * // Description: "STRING_VALUE",
39
+ * // AllowedPublishers: { // AllowedPublishers
40
+ * // SigningProfileVersionArns: [ // SigningProfileVersionArns // required
41
+ * // "STRING_VALUE",
42
+ * // ],
43
+ * // },
44
+ * // CodeSigningPolicies: { // CodeSigningPolicies
45
+ * // UntrustedArtifactOnDeployment: "Warn" || "Enforce",
46
+ * // },
47
+ * // LastModified: "STRING_VALUE", // required
48
+ * // },
49
+ * // };
50
+ *
34
51
  * ```
35
52
  *
36
53
  * @param GetCodeSigningConfigCommandInput - {@link GetCodeSigningConfigCommandInput}
@@ -48,6 +65,8 @@ export interface GetCodeSigningConfigCommandOutput extends GetCodeSigningConfigR
48
65
  * @throws {@link ServiceException} (server fault)
49
66
  * <p>The Lambda service encountered an internal error.</p>
50
67
  *
68
+ * @throws {@link LambdaServiceException}
69
+ * <p>Base exception class for all service exceptions from Lambda service.</p>
51
70
  *
52
71
  */
53
72
  export declare class GetCodeSigningConfigCommand extends $Command<GetCodeSigningConfigCommandInput, GetCodeSigningConfigCommandOutput, LambdaClientResolvedConfig> {
@@ -32,6 +32,76 @@ export interface GetEventSourceMappingCommandOutput extends EventSourceMappingCo
32
32
  * };
33
33
  * const command = new GetEventSourceMappingCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // EventSourceMappingConfiguration
36
+ * // UUID: "STRING_VALUE",
37
+ * // StartingPosition: "TRIM_HORIZON" || "LATEST" || "AT_TIMESTAMP",
38
+ * // StartingPositionTimestamp: new Date("TIMESTAMP"),
39
+ * // BatchSize: Number("int"),
40
+ * // MaximumBatchingWindowInSeconds: Number("int"),
41
+ * // ParallelizationFactor: Number("int"),
42
+ * // EventSourceArn: "STRING_VALUE",
43
+ * // FilterCriteria: { // FilterCriteria
44
+ * // Filters: [ // FilterList
45
+ * // { // Filter
46
+ * // Pattern: "STRING_VALUE",
47
+ * // },
48
+ * // ],
49
+ * // },
50
+ * // FunctionArn: "STRING_VALUE",
51
+ * // LastModified: new Date("TIMESTAMP"),
52
+ * // LastProcessingResult: "STRING_VALUE",
53
+ * // State: "STRING_VALUE",
54
+ * // StateTransitionReason: "STRING_VALUE",
55
+ * // DestinationConfig: { // DestinationConfig
56
+ * // OnSuccess: { // OnSuccess
57
+ * // Destination: "STRING_VALUE",
58
+ * // },
59
+ * // OnFailure: { // OnFailure
60
+ * // Destination: "STRING_VALUE",
61
+ * // },
62
+ * // },
63
+ * // Topics: [ // Topics
64
+ * // "STRING_VALUE",
65
+ * // ],
66
+ * // Queues: [ // Queues
67
+ * // "STRING_VALUE",
68
+ * // ],
69
+ * // SourceAccessConfigurations: [ // SourceAccessConfigurations
70
+ * // { // SourceAccessConfiguration
71
+ * // Type: "BASIC_AUTH" || "VPC_SUBNET" || "VPC_SECURITY_GROUP" || "SASL_SCRAM_512_AUTH" || "SASL_SCRAM_256_AUTH" || "VIRTUAL_HOST" || "CLIENT_CERTIFICATE_TLS_AUTH" || "SERVER_ROOT_CA_CERTIFICATE",
72
+ * // URI: "STRING_VALUE",
73
+ * // },
74
+ * // ],
75
+ * // SelfManagedEventSource: { // SelfManagedEventSource
76
+ * // Endpoints: { // Endpoints
77
+ * // "<keys>": [ // EndpointLists
78
+ * // "STRING_VALUE",
79
+ * // ],
80
+ * // },
81
+ * // },
82
+ * // MaximumRecordAgeInSeconds: Number("int"),
83
+ * // BisectBatchOnFunctionError: true || false,
84
+ * // MaximumRetryAttempts: Number("int"),
85
+ * // TumblingWindowInSeconds: Number("int"),
86
+ * // FunctionResponseTypes: [ // FunctionResponseTypeList
87
+ * // "ReportBatchItemFailures",
88
+ * // ],
89
+ * // AmazonManagedKafkaEventSourceConfig: { // AmazonManagedKafkaEventSourceConfig
90
+ * // ConsumerGroupId: "STRING_VALUE",
91
+ * // },
92
+ * // SelfManagedKafkaEventSourceConfig: { // SelfManagedKafkaEventSourceConfig
93
+ * // ConsumerGroupId: "STRING_VALUE",
94
+ * // },
95
+ * // ScalingConfig: { // ScalingConfig
96
+ * // MaximumConcurrency: Number("int"),
97
+ * // },
98
+ * // DocumentDBEventSourceConfig: { // DocumentDBEventSourceConfig
99
+ * // DatabaseName: "STRING_VALUE",
100
+ * // CollectionName: "STRING_VALUE",
101
+ * // FullDocument: "UpdateLookup" || "Default",
102
+ * // },
103
+ * // };
104
+ *
35
105
  * ```
36
106
  *
37
107
  * @param GetEventSourceMappingCommandInput - {@link GetEventSourceMappingCommandInput}
@@ -52,6 +122,8 @@ export interface GetEventSourceMappingCommandOutput extends EventSourceMappingCo
52
122
  * @throws {@link TooManyRequestsException} (client fault)
53
123
  * <p>The request throughput limit was exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests">Lambda quotas</a>.</p>
54
124
  *
125
+ * @throws {@link LambdaServiceException}
126
+ * <p>Base exception class for all service exceptions from Lambda service.</p>
55
127
  *
56
128
  */
57
129
  export declare class GetEventSourceMappingCommand extends $Command<GetEventSourceMappingCommandInput, GetEventSourceMappingCommandOutput, LambdaClientResolvedConfig> {
@@ -31,6 +31,11 @@ export interface GetFunctionCodeSigningConfigCommandOutput extends GetFunctionCo
31
31
  * };
32
32
  * const command = new GetFunctionCodeSigningConfigCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // GetFunctionCodeSigningConfigResponse
35
+ * // CodeSigningConfigArn: "STRING_VALUE", // required
36
+ * // FunctionName: "STRING_VALUE", // required
37
+ * // };
38
+ *
34
39
  * ```
35
40
  *
36
41
  * @param GetFunctionCodeSigningConfigCommandInput - {@link GetFunctionCodeSigningConfigCommandInput}
@@ -51,6 +56,8 @@ export interface GetFunctionCodeSigningConfigCommandOutput extends GetFunctionCo
51
56
  * @throws {@link TooManyRequestsException} (client fault)
52
57
  * <p>The request throughput limit was exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests">Lambda quotas</a>.</p>
53
58
  *
59
+ * @throws {@link LambdaServiceException}
60
+ * <p>Base exception class for all service exceptions from Lambda service.</p>
54
61
  *
55
62
  */
56
63
  export declare class GetFunctionCodeSigningConfigCommand extends $Command<GetFunctionCodeSigningConfigCommandInput, GetFunctionCodeSigningConfigCommandOutput, LambdaClientResolvedConfig> {
@@ -34,6 +34,117 @@ export interface GetFunctionCommandOutput extends GetFunctionResponse, __Metadat
34
34
  * };
35
35
  * const command = new GetFunctionCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // GetFunctionResponse
38
+ * // Configuration: { // FunctionConfiguration
39
+ * // FunctionName: "STRING_VALUE",
40
+ * // FunctionArn: "STRING_VALUE",
41
+ * // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17",
42
+ * // Role: "STRING_VALUE",
43
+ * // Handler: "STRING_VALUE",
44
+ * // CodeSize: Number("long"),
45
+ * // Description: "STRING_VALUE",
46
+ * // Timeout: Number("int"),
47
+ * // MemorySize: Number("int"),
48
+ * // LastModified: "STRING_VALUE",
49
+ * // CodeSha256: "STRING_VALUE",
50
+ * // Version: "STRING_VALUE",
51
+ * // VpcConfig: { // VpcConfigResponse
52
+ * // SubnetIds: [ // SubnetIds
53
+ * // "STRING_VALUE",
54
+ * // ],
55
+ * // SecurityGroupIds: [ // SecurityGroupIds
56
+ * // "STRING_VALUE",
57
+ * // ],
58
+ * // VpcId: "STRING_VALUE",
59
+ * // },
60
+ * // DeadLetterConfig: { // DeadLetterConfig
61
+ * // TargetArn: "STRING_VALUE",
62
+ * // },
63
+ * // Environment: { // EnvironmentResponse
64
+ * // Variables: { // EnvironmentVariables
65
+ * // "<keys>": "STRING_VALUE",
66
+ * // },
67
+ * // Error: { // EnvironmentError
68
+ * // ErrorCode: "STRING_VALUE",
69
+ * // Message: "STRING_VALUE",
70
+ * // },
71
+ * // },
72
+ * // KMSKeyArn: "STRING_VALUE",
73
+ * // TracingConfig: { // TracingConfigResponse
74
+ * // Mode: "Active" || "PassThrough",
75
+ * // },
76
+ * // MasterArn: "STRING_VALUE",
77
+ * // RevisionId: "STRING_VALUE",
78
+ * // Layers: [ // LayersReferenceList
79
+ * // { // Layer
80
+ * // Arn: "STRING_VALUE",
81
+ * // CodeSize: Number("long"),
82
+ * // SigningProfileVersionArn: "STRING_VALUE",
83
+ * // SigningJobArn: "STRING_VALUE",
84
+ * // },
85
+ * // ],
86
+ * // State: "Pending" || "Active" || "Inactive" || "Failed",
87
+ * // StateReason: "STRING_VALUE",
88
+ * // StateReasonCode: "Idle" || "Creating" || "Restoring" || "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError",
89
+ * // LastUpdateStatus: "Successful" || "Failed" || "InProgress",
90
+ * // LastUpdateStatusReason: "STRING_VALUE",
91
+ * // LastUpdateStatusReasonCode: "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError",
92
+ * // FileSystemConfigs: [ // FileSystemConfigList
93
+ * // { // FileSystemConfig
94
+ * // Arn: "STRING_VALUE", // required
95
+ * // LocalMountPath: "STRING_VALUE", // required
96
+ * // },
97
+ * // ],
98
+ * // PackageType: "Zip" || "Image",
99
+ * // ImageConfigResponse: { // ImageConfigResponse
100
+ * // ImageConfig: { // ImageConfig
101
+ * // EntryPoint: [ // StringList
102
+ * // "STRING_VALUE",
103
+ * // ],
104
+ * // Command: [
105
+ * // "STRING_VALUE",
106
+ * // ],
107
+ * // WorkingDirectory: "STRING_VALUE",
108
+ * // },
109
+ * // Error: { // ImageConfigError
110
+ * // ErrorCode: "STRING_VALUE",
111
+ * // Message: "STRING_VALUE",
112
+ * // },
113
+ * // },
114
+ * // SigningProfileVersionArn: "STRING_VALUE",
115
+ * // SigningJobArn: "STRING_VALUE",
116
+ * // Architectures: [ // ArchitecturesList
117
+ * // "x86_64" || "arm64",
118
+ * // ],
119
+ * // EphemeralStorage: { // EphemeralStorage
120
+ * // Size: Number("int"), // required
121
+ * // },
122
+ * // SnapStart: { // SnapStartResponse
123
+ * // ApplyOn: "PublishedVersions" || "None",
124
+ * // OptimizationStatus: "On" || "Off",
125
+ * // },
126
+ * // RuntimeVersionConfig: { // RuntimeVersionConfig
127
+ * // RuntimeVersionArn: "STRING_VALUE",
128
+ * // Error: { // RuntimeVersionError
129
+ * // ErrorCode: "STRING_VALUE",
130
+ * // Message: "STRING_VALUE",
131
+ * // },
132
+ * // },
133
+ * // },
134
+ * // Code: { // FunctionCodeLocation
135
+ * // RepositoryType: "STRING_VALUE",
136
+ * // Location: "STRING_VALUE",
137
+ * // ImageUri: "STRING_VALUE",
138
+ * // ResolvedImageUri: "STRING_VALUE",
139
+ * // },
140
+ * // Tags: { // Tags
141
+ * // "<keys>": "STRING_VALUE",
142
+ * // },
143
+ * // Concurrency: { // Concurrency
144
+ * // ReservedConcurrentExecutions: Number("int"),
145
+ * // },
146
+ * // };
147
+ *
37
148
  * ```
38
149
  *
39
150
  * @param GetFunctionCommandInput - {@link GetFunctionCommandInput}
@@ -54,6 +165,8 @@ export interface GetFunctionCommandOutput extends GetFunctionResponse, __Metadat
54
165
  * @throws {@link TooManyRequestsException} (client fault)
55
166
  * <p>The request throughput limit was exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests">Lambda quotas</a>.</p>
56
167
  *
168
+ * @throws {@link LambdaServiceException}
169
+ * <p>Base exception class for all service exceptions from Lambda service.</p>
57
170
  *
58
171
  */
59
172
  export declare class GetFunctionCommand extends $Command<GetFunctionCommandInput, GetFunctionCommandOutput, LambdaClientResolvedConfig> {
@@ -32,6 +32,10 @@ export interface GetFunctionConcurrencyCommandOutput extends GetFunctionConcurre
32
32
  * };
33
33
  * const command = new GetFunctionConcurrencyCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // GetFunctionConcurrencyResponse
36
+ * // ReservedConcurrentExecutions: Number("int"),
37
+ * // };
38
+ *
35
39
  * ```
36
40
  *
37
41
  * @param GetFunctionConcurrencyCommandInput - {@link GetFunctionConcurrencyCommandInput}
@@ -52,6 +56,8 @@ export interface GetFunctionConcurrencyCommandOutput extends GetFunctionConcurre
52
56
  * @throws {@link TooManyRequestsException} (client fault)
53
57
  * <p>The request throughput limit was exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests">Lambda quotas</a>.</p>
54
58
  *
59
+ * @throws {@link LambdaServiceException}
60
+ * <p>Base exception class for all service exceptions from Lambda service.</p>
55
61
  *
56
62
  */
57
63
  export declare class GetFunctionConcurrencyCommand extends $Command<GetFunctionConcurrencyCommandInput, GetFunctionConcurrencyCommandOutput, LambdaClientResolvedConfig> {
@@ -34,6 +34,103 @@ export interface GetFunctionConfigurationCommandOutput extends FunctionConfigura
34
34
  * };
35
35
  * const command = new GetFunctionConfigurationCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // FunctionConfiguration
38
+ * // FunctionName: "STRING_VALUE",
39
+ * // FunctionArn: "STRING_VALUE",
40
+ * // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17",
41
+ * // Role: "STRING_VALUE",
42
+ * // Handler: "STRING_VALUE",
43
+ * // CodeSize: Number("long"),
44
+ * // Description: "STRING_VALUE",
45
+ * // Timeout: Number("int"),
46
+ * // MemorySize: Number("int"),
47
+ * // LastModified: "STRING_VALUE",
48
+ * // CodeSha256: "STRING_VALUE",
49
+ * // Version: "STRING_VALUE",
50
+ * // VpcConfig: { // VpcConfigResponse
51
+ * // SubnetIds: [ // SubnetIds
52
+ * // "STRING_VALUE",
53
+ * // ],
54
+ * // SecurityGroupIds: [ // SecurityGroupIds
55
+ * // "STRING_VALUE",
56
+ * // ],
57
+ * // VpcId: "STRING_VALUE",
58
+ * // },
59
+ * // DeadLetterConfig: { // DeadLetterConfig
60
+ * // TargetArn: "STRING_VALUE",
61
+ * // },
62
+ * // Environment: { // EnvironmentResponse
63
+ * // Variables: { // EnvironmentVariables
64
+ * // "<keys>": "STRING_VALUE",
65
+ * // },
66
+ * // Error: { // EnvironmentError
67
+ * // ErrorCode: "STRING_VALUE",
68
+ * // Message: "STRING_VALUE",
69
+ * // },
70
+ * // },
71
+ * // KMSKeyArn: "STRING_VALUE",
72
+ * // TracingConfig: { // TracingConfigResponse
73
+ * // Mode: "Active" || "PassThrough",
74
+ * // },
75
+ * // MasterArn: "STRING_VALUE",
76
+ * // RevisionId: "STRING_VALUE",
77
+ * // Layers: [ // LayersReferenceList
78
+ * // { // Layer
79
+ * // Arn: "STRING_VALUE",
80
+ * // CodeSize: Number("long"),
81
+ * // SigningProfileVersionArn: "STRING_VALUE",
82
+ * // SigningJobArn: "STRING_VALUE",
83
+ * // },
84
+ * // ],
85
+ * // State: "Pending" || "Active" || "Inactive" || "Failed",
86
+ * // StateReason: "STRING_VALUE",
87
+ * // StateReasonCode: "Idle" || "Creating" || "Restoring" || "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError",
88
+ * // LastUpdateStatus: "Successful" || "Failed" || "InProgress",
89
+ * // LastUpdateStatusReason: "STRING_VALUE",
90
+ * // LastUpdateStatusReasonCode: "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError",
91
+ * // FileSystemConfigs: [ // FileSystemConfigList
92
+ * // { // FileSystemConfig
93
+ * // Arn: "STRING_VALUE", // required
94
+ * // LocalMountPath: "STRING_VALUE", // required
95
+ * // },
96
+ * // ],
97
+ * // PackageType: "Zip" || "Image",
98
+ * // ImageConfigResponse: { // ImageConfigResponse
99
+ * // ImageConfig: { // ImageConfig
100
+ * // EntryPoint: [ // StringList
101
+ * // "STRING_VALUE",
102
+ * // ],
103
+ * // Command: [
104
+ * // "STRING_VALUE",
105
+ * // ],
106
+ * // WorkingDirectory: "STRING_VALUE",
107
+ * // },
108
+ * // Error: { // ImageConfigError
109
+ * // ErrorCode: "STRING_VALUE",
110
+ * // Message: "STRING_VALUE",
111
+ * // },
112
+ * // },
113
+ * // SigningProfileVersionArn: "STRING_VALUE",
114
+ * // SigningJobArn: "STRING_VALUE",
115
+ * // Architectures: [ // ArchitecturesList
116
+ * // "x86_64" || "arm64",
117
+ * // ],
118
+ * // EphemeralStorage: { // EphemeralStorage
119
+ * // Size: Number("int"), // required
120
+ * // },
121
+ * // SnapStart: { // SnapStartResponse
122
+ * // ApplyOn: "PublishedVersions" || "None",
123
+ * // OptimizationStatus: "On" || "Off",
124
+ * // },
125
+ * // RuntimeVersionConfig: { // RuntimeVersionConfig
126
+ * // RuntimeVersionArn: "STRING_VALUE",
127
+ * // Error: { // RuntimeVersionError
128
+ * // ErrorCode: "STRING_VALUE",
129
+ * // Message: "STRING_VALUE",
130
+ * // },
131
+ * // },
132
+ * // };
133
+ *
37
134
  * ```
38
135
  *
39
136
  * @param GetFunctionConfigurationCommandInput - {@link GetFunctionConfigurationCommandInput}
@@ -54,6 +151,8 @@ export interface GetFunctionConfigurationCommandOutput extends FunctionConfigura
54
151
  * @throws {@link TooManyRequestsException} (client fault)
55
152
  * <p>The request throughput limit was exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests">Lambda quotas</a>.</p>
56
153
  *
154
+ * @throws {@link LambdaServiceException}
155
+ * <p>Base exception class for all service exceptions from Lambda service.</p>
57
156
  *
58
157
  */
59
158
  export declare class GetFunctionConfigurationCommand extends $Command<GetFunctionConfigurationCommandInput, GetFunctionConfigurationCommandOutput, LambdaClientResolvedConfig> {
@@ -33,6 +33,21 @@ export interface GetFunctionEventInvokeConfigCommandOutput extends FunctionEvent
33
33
  * };
34
34
  * const command = new GetFunctionEventInvokeConfigCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // FunctionEventInvokeConfig
37
+ * // LastModified: new Date("TIMESTAMP"),
38
+ * // FunctionArn: "STRING_VALUE",
39
+ * // MaximumRetryAttempts: Number("int"),
40
+ * // MaximumEventAgeInSeconds: Number("int"),
41
+ * // DestinationConfig: { // DestinationConfig
42
+ * // OnSuccess: { // OnSuccess
43
+ * // Destination: "STRING_VALUE",
44
+ * // },
45
+ * // OnFailure: { // OnFailure
46
+ * // Destination: "STRING_VALUE",
47
+ * // },
48
+ * // },
49
+ * // };
50
+ *
36
51
  * ```
37
52
  *
38
53
  * @param GetFunctionEventInvokeConfigCommandInput - {@link GetFunctionEventInvokeConfigCommandInput}
@@ -53,6 +68,8 @@ export interface GetFunctionEventInvokeConfigCommandOutput extends FunctionEvent
53
68
  * @throws {@link TooManyRequestsException} (client fault)
54
69
  * <p>The request throughput limit was exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests">Lambda quotas</a>.</p>
55
70
  *
71
+ * @throws {@link LambdaServiceException}
72
+ * <p>Base exception class for all service exceptions from Lambda service.</p>
56
73
  *
57
74
  */
58
75
  export declare class GetFunctionEventInvokeConfigCommand extends $Command<GetFunctionEventInvokeConfigCommandInput, GetFunctionEventInvokeConfigCommandOutput, LambdaClientResolvedConfig> {
@@ -32,6 +32,31 @@ export interface GetFunctionUrlConfigCommandOutput extends GetFunctionUrlConfigR
32
32
  * };
33
33
  * const command = new GetFunctionUrlConfigCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // GetFunctionUrlConfigResponse
36
+ * // FunctionUrl: "STRING_VALUE", // required
37
+ * // FunctionArn: "STRING_VALUE", // required
38
+ * // AuthType: "NONE" || "AWS_IAM", // required
39
+ * // Cors: { // Cors
40
+ * // AllowCredentials: true || false,
41
+ * // AllowHeaders: [ // HeadersList
42
+ * // "STRING_VALUE",
43
+ * // ],
44
+ * // AllowMethods: [ // AllowMethodsList
45
+ * // "STRING_VALUE",
46
+ * // ],
47
+ * // AllowOrigins: [ // AllowOriginsList
48
+ * // "STRING_VALUE",
49
+ * // ],
50
+ * // ExposeHeaders: [
51
+ * // "STRING_VALUE",
52
+ * // ],
53
+ * // MaxAge: Number("int"),
54
+ * // },
55
+ * // CreationTime: "STRING_VALUE", // required
56
+ * // LastModifiedTime: "STRING_VALUE", // required
57
+ * // InvokeMode: "BUFFERED" || "RESPONSE_STREAM",
58
+ * // };
59
+ *
35
60
  * ```
36
61
  *
37
62
  * @param GetFunctionUrlConfigCommandInput - {@link GetFunctionUrlConfigCommandInput}
@@ -52,6 +77,8 @@ export interface GetFunctionUrlConfigCommandOutput extends GetFunctionUrlConfigR
52
77
  * @throws {@link TooManyRequestsException} (client fault)
53
78
  * <p>The request throughput limit was exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests">Lambda quotas</a>.</p>
54
79
  *
80
+ * @throws {@link LambdaServiceException}
81
+ * <p>Base exception class for all service exceptions from Lambda service.</p>
55
82
  *
56
83
  */
57
84
  export declare class GetFunctionUrlConfigCommand extends $Command<GetFunctionUrlConfigCommandInput, GetFunctionUrlConfigCommandOutput, LambdaClientResolvedConfig> {
@@ -33,6 +33,28 @@ export interface GetLayerVersionByArnCommandOutput extends GetLayerVersionRespon
33
33
  * };
34
34
  * const command = new GetLayerVersionByArnCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // GetLayerVersionResponse
37
+ * // Content: { // LayerVersionContentOutput
38
+ * // Location: "STRING_VALUE",
39
+ * // CodeSha256: "STRING_VALUE",
40
+ * // CodeSize: Number("long"),
41
+ * // SigningProfileVersionArn: "STRING_VALUE",
42
+ * // SigningJobArn: "STRING_VALUE",
43
+ * // },
44
+ * // LayerArn: "STRING_VALUE",
45
+ * // LayerVersionArn: "STRING_VALUE",
46
+ * // Description: "STRING_VALUE",
47
+ * // CreatedDate: "STRING_VALUE",
48
+ * // Version: Number("long"),
49
+ * // CompatibleRuntimes: [ // CompatibleRuntimes
50
+ * // "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17",
51
+ * // ],
52
+ * // LicenseInfo: "STRING_VALUE",
53
+ * // CompatibleArchitectures: [ // CompatibleArchitectures
54
+ * // "x86_64" || "arm64",
55
+ * // ],
56
+ * // };
57
+ *
36
58
  * ```
37
59
  *
38
60
  * @param GetLayerVersionByArnCommandInput - {@link GetLayerVersionByArnCommandInput}
@@ -53,6 +75,8 @@ export interface GetLayerVersionByArnCommandOutput extends GetLayerVersionRespon
53
75
  * @throws {@link TooManyRequestsException} (client fault)
54
76
  * <p>The request throughput limit was exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests">Lambda quotas</a>.</p>
55
77
  *
78
+ * @throws {@link LambdaServiceException}
79
+ * <p>Base exception class for all service exceptions from Lambda service.</p>
56
80
  *
57
81
  */
58
82
  export declare class GetLayerVersionByArnCommand extends $Command<GetLayerVersionByArnCommandInput, GetLayerVersionByArnCommandOutput, LambdaClientResolvedConfig> {
@@ -34,6 +34,28 @@ export interface GetLayerVersionCommandOutput extends GetLayerVersionResponse, _
34
34
  * };
35
35
  * const command = new GetLayerVersionCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // GetLayerVersionResponse
38
+ * // Content: { // LayerVersionContentOutput
39
+ * // Location: "STRING_VALUE",
40
+ * // CodeSha256: "STRING_VALUE",
41
+ * // CodeSize: Number("long"),
42
+ * // SigningProfileVersionArn: "STRING_VALUE",
43
+ * // SigningJobArn: "STRING_VALUE",
44
+ * // },
45
+ * // LayerArn: "STRING_VALUE",
46
+ * // LayerVersionArn: "STRING_VALUE",
47
+ * // Description: "STRING_VALUE",
48
+ * // CreatedDate: "STRING_VALUE",
49
+ * // Version: Number("long"),
50
+ * // CompatibleRuntimes: [ // CompatibleRuntimes
51
+ * // "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17",
52
+ * // ],
53
+ * // LicenseInfo: "STRING_VALUE",
54
+ * // CompatibleArchitectures: [ // CompatibleArchitectures
55
+ * // "x86_64" || "arm64",
56
+ * // ],
57
+ * // };
58
+ *
37
59
  * ```
38
60
  *
39
61
  * @param GetLayerVersionCommandInput - {@link GetLayerVersionCommandInput}
@@ -54,6 +76,8 @@ export interface GetLayerVersionCommandOutput extends GetLayerVersionResponse, _
54
76
  * @throws {@link TooManyRequestsException} (client fault)
55
77
  * <p>The request throughput limit was exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests">Lambda quotas</a>.</p>
56
78
  *
79
+ * @throws {@link LambdaServiceException}
80
+ * <p>Base exception class for all service exceptions from Lambda service.</p>
57
81
  *
58
82
  */
59
83
  export declare class GetLayerVersionCommand extends $Command<GetLayerVersionCommandInput, GetLayerVersionCommandOutput, LambdaClientResolvedConfig> {
@@ -33,6 +33,11 @@ export interface GetLayerVersionPolicyCommandOutput extends GetLayerVersionPolic
33
33
  * };
34
34
  * const command = new GetLayerVersionPolicyCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // GetLayerVersionPolicyResponse
37
+ * // Policy: "STRING_VALUE",
38
+ * // RevisionId: "STRING_VALUE",
39
+ * // };
40
+ *
36
41
  * ```
37
42
  *
38
43
  * @param GetLayerVersionPolicyCommandInput - {@link GetLayerVersionPolicyCommandInput}
@@ -53,6 +58,8 @@ export interface GetLayerVersionPolicyCommandOutput extends GetLayerVersionPolic
53
58
  * @throws {@link TooManyRequestsException} (client fault)
54
59
  * <p>The request throughput limit was exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests">Lambda quotas</a>.</p>
55
60
  *
61
+ * @throws {@link LambdaServiceException}
62
+ * <p>Base exception class for all service exceptions from Lambda service.</p>
56
63
  *
57
64
  */
58
65
  export declare class GetLayerVersionPolicyCommand extends $Command<GetLayerVersionPolicyCommandInput, GetLayerVersionPolicyCommandOutput, LambdaClientResolvedConfig> {
@@ -32,6 +32,11 @@ export interface GetPolicyCommandOutput extends GetPolicyResponse, __MetadataBea
32
32
  * };
33
33
  * const command = new GetPolicyCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // GetPolicyResponse
36
+ * // Policy: "STRING_VALUE",
37
+ * // RevisionId: "STRING_VALUE",
38
+ * // };
39
+ *
35
40
  * ```
36
41
  *
37
42
  * @param GetPolicyCommandInput - {@link GetPolicyCommandInput}
@@ -52,6 +57,8 @@ export interface GetPolicyCommandOutput extends GetPolicyResponse, __MetadataBea
52
57
  * @throws {@link TooManyRequestsException} (client fault)
53
58
  * <p>The request throughput limit was exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests">Lambda quotas</a>.</p>
54
59
  *
60
+ * @throws {@link LambdaServiceException}
61
+ * <p>Base exception class for all service exceptions from Lambda service.</p>
55
62
  *
56
63
  */
57
64
  export declare class GetPolicyCommand extends $Command<GetPolicyCommandInput, GetPolicyCommandOutput, LambdaClientResolvedConfig> {