aws-sdk-lambda 1.69.0 → 1.73.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -511,6 +511,49 @@ module Aws::Lambda
511
511
  include Aws::Structure
512
512
  end
513
513
 
514
+ # @note When making an API call, you may pass Cors
515
+ # data as a hash:
516
+ #
517
+ # {
518
+ # allow_credentials: false,
519
+ # allow_headers: ["Header"],
520
+ # allow_methods: ["Method"],
521
+ # allow_origins: ["Origin"],
522
+ # expose_headers: ["Header"],
523
+ # max_age: 1,
524
+ # }
525
+ #
526
+ # @!attribute [rw] allow_credentials
527
+ # @return [Boolean]
528
+ #
529
+ # @!attribute [rw] allow_headers
530
+ # @return [Array<String>]
531
+ #
532
+ # @!attribute [rw] allow_methods
533
+ # @return [Array<String>]
534
+ #
535
+ # @!attribute [rw] allow_origins
536
+ # @return [Array<String>]
537
+ #
538
+ # @!attribute [rw] expose_headers
539
+ # @return [Array<String>]
540
+ #
541
+ # @!attribute [rw] max_age
542
+ # @return [Integer]
543
+ #
544
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/Cors AWS API Documentation
545
+ #
546
+ class Cors < Struct.new(
547
+ :allow_credentials,
548
+ :allow_headers,
549
+ :allow_methods,
550
+ :allow_origins,
551
+ :expose_headers,
552
+ :max_age)
553
+ SENSITIVE = []
554
+ include Aws::Structure
555
+ end
556
+
514
557
  # @note When making an API call, you may pass CreateAliasRequest
515
558
  # data as a hash:
516
559
  #
@@ -650,7 +693,7 @@ module Aws::Lambda
650
693
  # queues: ["Queue"],
651
694
  # source_access_configurations: [
652
695
  # {
653
- # type: "BASIC_AUTH", # accepts BASIC_AUTH, VPC_SUBNET, VPC_SECURITY_GROUP, SASL_SCRAM_512_AUTH, SASL_SCRAM_256_AUTH, VIRTUAL_HOST
696
+ # type: "BASIC_AUTH", # accepts 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
654
697
  # uri: "URI",
655
698
  # },
656
699
  # ],
@@ -924,10 +967,10 @@ module Aws::Lambda
924
967
  # @return [String]
925
968
  #
926
969
  # @!attribute [rw] timeout
927
- # The amount of time that Lambda allows a function to run before
928
- # stopping it. The default is 3 seconds. The maximum allowed value is
929
- # 900 seconds. For additional information, see [Lambda execution
930
- # environment][1].
970
+ # The amount of time (in seconds) that Lambda allows a function to run
971
+ # before stopping it. The default is 3 seconds. The maximum allowed
972
+ # value is 900 seconds. For additional information, see [Lambda
973
+ # execution environment][1].
931
974
  #
932
975
  #
933
976
  #
@@ -1067,6 +1110,73 @@ module Aws::Lambda
1067
1110
  include Aws::Structure
1068
1111
  end
1069
1112
 
1113
+ # @note When making an API call, you may pass CreateFunctionUrlConfigRequest
1114
+ # data as a hash:
1115
+ #
1116
+ # {
1117
+ # function_name: "FunctionName", # required
1118
+ # qualifier: "FunctionUrlQualifier",
1119
+ # authorization_type: "NONE", # required, accepts NONE, AWS_IAM
1120
+ # cors: {
1121
+ # allow_credentials: false,
1122
+ # allow_headers: ["Header"],
1123
+ # allow_methods: ["Method"],
1124
+ # allow_origins: ["Origin"],
1125
+ # expose_headers: ["Header"],
1126
+ # max_age: 1,
1127
+ # },
1128
+ # }
1129
+ #
1130
+ # @!attribute [rw] function_name
1131
+ # @return [String]
1132
+ #
1133
+ # @!attribute [rw] qualifier
1134
+ # @return [String]
1135
+ #
1136
+ # @!attribute [rw] authorization_type
1137
+ # @return [String]
1138
+ #
1139
+ # @!attribute [rw] cors
1140
+ # @return [Types::Cors]
1141
+ #
1142
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunctionUrlConfigRequest AWS API Documentation
1143
+ #
1144
+ class CreateFunctionUrlConfigRequest < Struct.new(
1145
+ :function_name,
1146
+ :qualifier,
1147
+ :authorization_type,
1148
+ :cors)
1149
+ SENSITIVE = []
1150
+ include Aws::Structure
1151
+ end
1152
+
1153
+ # @!attribute [rw] function_url
1154
+ # @return [String]
1155
+ #
1156
+ # @!attribute [rw] function_arn
1157
+ # @return [String]
1158
+ #
1159
+ # @!attribute [rw] authorization_type
1160
+ # @return [String]
1161
+ #
1162
+ # @!attribute [rw] cors
1163
+ # @return [Types::Cors]
1164
+ #
1165
+ # @!attribute [rw] creation_time
1166
+ # @return [Time]
1167
+ #
1168
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunctionUrlConfigResponse AWS API Documentation
1169
+ #
1170
+ class CreateFunctionUrlConfigResponse < Struct.new(
1171
+ :function_url,
1172
+ :function_arn,
1173
+ :authorization_type,
1174
+ :cors,
1175
+ :creation_time)
1176
+ SENSITIVE = []
1177
+ include Aws::Structure
1178
+ end
1179
+
1070
1180
  # The [dead-letter queue][1] for failed asynchronous invocations.
1071
1181
  #
1072
1182
  #
@@ -1314,6 +1424,29 @@ module Aws::Lambda
1314
1424
  include Aws::Structure
1315
1425
  end
1316
1426
 
1427
+ # @note When making an API call, you may pass DeleteFunctionUrlConfigRequest
1428
+ # data as a hash:
1429
+ #
1430
+ # {
1431
+ # function_name: "FunctionName", # required
1432
+ # qualifier: "FunctionUrlQualifier",
1433
+ # }
1434
+ #
1435
+ # @!attribute [rw] function_name
1436
+ # @return [String]
1437
+ #
1438
+ # @!attribute [rw] qualifier
1439
+ # @return [String]
1440
+ #
1441
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionUrlConfigRequest AWS API Documentation
1442
+ #
1443
+ class DeleteFunctionUrlConfigRequest < Struct.new(
1444
+ :function_name,
1445
+ :qualifier)
1446
+ SENSITIVE = []
1447
+ include Aws::Structure
1448
+ end
1449
+
1317
1450
  # @note When making an API call, you may pass DeleteLayerVersionRequest
1318
1451
  # data as a hash:
1319
1452
  #
@@ -1978,7 +2111,7 @@ module Aws::Lambda
1978
2111
  # @!attribute [rw] kms_key_arn
1979
2112
  # The KMS key that's used to encrypt the function's environment
1980
2113
  # variables. This key is only returned if you've configured a
1981
- # customer managed CMK.
2114
+ # customer managed key.
1982
2115
  # @return [String]
1983
2116
  #
1984
2117
  # @!attribute [rw] tracing_config
@@ -1986,7 +2119,7 @@ module Aws::Lambda
1986
2119
  # @return [Types::TracingConfigResponse]
1987
2120
  #
1988
2121
  # @!attribute [rw] master_arn
1989
- # For Lambda@Edge functions, the ARN of the master function.
2122
+ # For Lambda@Edge functions, the ARN of the main function.
1990
2123
  # @return [String]
1991
2124
  #
1992
2125
  # @!attribute [rw] revision_id
@@ -2145,6 +2278,37 @@ module Aws::Lambda
2145
2278
  include Aws::Structure
2146
2279
  end
2147
2280
 
2281
+ # @!attribute [rw] function_url
2282
+ # @return [String]
2283
+ #
2284
+ # @!attribute [rw] function_arn
2285
+ # @return [String]
2286
+ #
2287
+ # @!attribute [rw] creation_time
2288
+ # @return [Time]
2289
+ #
2290
+ # @!attribute [rw] last_modified_time
2291
+ # @return [Time]
2292
+ #
2293
+ # @!attribute [rw] cors
2294
+ # @return [Types::Cors]
2295
+ #
2296
+ # @!attribute [rw] authorization_type
2297
+ # @return [String]
2298
+ #
2299
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionUrlConfig AWS API Documentation
2300
+ #
2301
+ class FunctionUrlConfig < Struct.new(
2302
+ :function_url,
2303
+ :function_arn,
2304
+ :creation_time,
2305
+ :last_modified_time,
2306
+ :cors,
2307
+ :authorization_type)
2308
+ SENSITIVE = []
2309
+ include Aws::Structure
2310
+ end
2311
+
2148
2312
  # @api private
2149
2313
  #
2150
2314
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetAccountSettingsRequest AWS API Documentation
@@ -2515,6 +2679,60 @@ module Aws::Lambda
2515
2679
  include Aws::Structure
2516
2680
  end
2517
2681
 
2682
+ # @note When making an API call, you may pass GetFunctionUrlConfigRequest
2683
+ # data as a hash:
2684
+ #
2685
+ # {
2686
+ # function_name: "FunctionName", # required
2687
+ # qualifier: "FunctionUrlQualifier",
2688
+ # }
2689
+ #
2690
+ # @!attribute [rw] function_name
2691
+ # @return [String]
2692
+ #
2693
+ # @!attribute [rw] qualifier
2694
+ # @return [String]
2695
+ #
2696
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionUrlConfigRequest AWS API Documentation
2697
+ #
2698
+ class GetFunctionUrlConfigRequest < Struct.new(
2699
+ :function_name,
2700
+ :qualifier)
2701
+ SENSITIVE = []
2702
+ include Aws::Structure
2703
+ end
2704
+
2705
+ # @!attribute [rw] function_url
2706
+ # @return [String]
2707
+ #
2708
+ # @!attribute [rw] function_arn
2709
+ # @return [String]
2710
+ #
2711
+ # @!attribute [rw] authorization_type
2712
+ # @return [String]
2713
+ #
2714
+ # @!attribute [rw] cors
2715
+ # @return [Types::Cors]
2716
+ #
2717
+ # @!attribute [rw] creation_time
2718
+ # @return [Time]
2719
+ #
2720
+ # @!attribute [rw] last_modified_time
2721
+ # @return [Time]
2722
+ #
2723
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionUrlConfigResponse AWS API Documentation
2724
+ #
2725
+ class GetFunctionUrlConfigResponse < Struct.new(
2726
+ :function_url,
2727
+ :function_arn,
2728
+ :authorization_type,
2729
+ :cors,
2730
+ :creation_time,
2731
+ :last_modified_time)
2732
+ SENSITIVE = []
2733
+ include Aws::Structure
2734
+ end
2735
+
2518
2736
  # @note When making an API call, you may pass GetLayerVersionByArnRequest
2519
2737
  # data as a hash:
2520
2738
  #
@@ -3699,6 +3917,49 @@ module Aws::Lambda
3699
3917
  include Aws::Structure
3700
3918
  end
3701
3919
 
3920
+ # @note When making an API call, you may pass ListFunctionUrlConfigsRequest
3921
+ # data as a hash:
3922
+ #
3923
+ # {
3924
+ # function_name: "FunctionName", # required
3925
+ # marker: "String",
3926
+ # max_items: 1,
3927
+ # }
3928
+ #
3929
+ # @!attribute [rw] function_name
3930
+ # @return [String]
3931
+ #
3932
+ # @!attribute [rw] marker
3933
+ # @return [String]
3934
+ #
3935
+ # @!attribute [rw] max_items
3936
+ # @return [Integer]
3937
+ #
3938
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctionUrlConfigsRequest AWS API Documentation
3939
+ #
3940
+ class ListFunctionUrlConfigsRequest < Struct.new(
3941
+ :function_name,
3942
+ :marker,
3943
+ :max_items)
3944
+ SENSITIVE = []
3945
+ include Aws::Structure
3946
+ end
3947
+
3948
+ # @!attribute [rw] function_url_configs
3949
+ # @return [Array<Types::FunctionUrlConfig>]
3950
+ #
3951
+ # @!attribute [rw] next_marker
3952
+ # @return [String]
3953
+ #
3954
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctionUrlConfigsResponse AWS API Documentation
3955
+ #
3956
+ class ListFunctionUrlConfigsResponse < Struct.new(
3957
+ :function_url_configs,
3958
+ :next_marker)
3959
+ SENSITIVE = []
3960
+ include Aws::Structure
3961
+ end
3962
+
3702
3963
  # @note When making an API call, you may pass ListFunctionsByCodeSigningConfigRequest
3703
3964
  # data as a hash:
3704
3965
  #
@@ -4946,7 +5207,7 @@ module Aws::Lambda
4946
5207
  # data as a hash:
4947
5208
  #
4948
5209
  # {
4949
- # type: "BASIC_AUTH", # accepts BASIC_AUTH, VPC_SUBNET, VPC_SECURITY_GROUP, SASL_SCRAM_512_AUTH, SASL_SCRAM_256_AUTH, VIRTUAL_HOST
5210
+ # type: "BASIC_AUTH", # accepts 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
4950
5211
  # uri: "URI",
4951
5212
  # }
4952
5213
  #
@@ -5297,7 +5558,7 @@ module Aws::Lambda
5297
5558
  # parallelization_factor: 1,
5298
5559
  # source_access_configurations: [
5299
5560
  # {
5300
- # type: "BASIC_AUTH", # accepts BASIC_AUTH, VPC_SUBNET, VPC_SECURITY_GROUP, SASL_SCRAM_512_AUTH, SASL_SCRAM_256_AUTH, VIRTUAL_HOST
5561
+ # type: "BASIC_AUTH", # accepts 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
5301
5562
  # uri: "URI",
5302
5563
  # },
5303
5564
  # ],
@@ -5601,10 +5862,10 @@ module Aws::Lambda
5601
5862
  # @return [String]
5602
5863
  #
5603
5864
  # @!attribute [rw] timeout
5604
- # The amount of time that Lambda allows a function to run before
5605
- # stopping it. The default is 3 seconds. The maximum allowed value is
5606
- # 900 seconds. For additional information, see [Lambda execution
5607
- # environment][1].
5865
+ # The amount of time (in seconds) that Lambda allows a function to run
5866
+ # before stopping it. The default is 3 seconds. The maximum allowed
5867
+ # value is 900 seconds. For additional information, see [Lambda
5868
+ # execution environment][1].
5608
5869
  #
5609
5870
  #
5610
5871
  #
@@ -5800,6 +6061,77 @@ module Aws::Lambda
5800
6061
  include Aws::Structure
5801
6062
  end
5802
6063
 
6064
+ # @note When making an API call, you may pass UpdateFunctionUrlConfigRequest
6065
+ # data as a hash:
6066
+ #
6067
+ # {
6068
+ # function_name: "FunctionName", # required
6069
+ # qualifier: "FunctionUrlQualifier",
6070
+ # authorization_type: "NONE", # accepts NONE, AWS_IAM
6071
+ # cors: {
6072
+ # allow_credentials: false,
6073
+ # allow_headers: ["Header"],
6074
+ # allow_methods: ["Method"],
6075
+ # allow_origins: ["Origin"],
6076
+ # expose_headers: ["Header"],
6077
+ # max_age: 1,
6078
+ # },
6079
+ # }
6080
+ #
6081
+ # @!attribute [rw] function_name
6082
+ # @return [String]
6083
+ #
6084
+ # @!attribute [rw] qualifier
6085
+ # @return [String]
6086
+ #
6087
+ # @!attribute [rw] authorization_type
6088
+ # @return [String]
6089
+ #
6090
+ # @!attribute [rw] cors
6091
+ # @return [Types::Cors]
6092
+ #
6093
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionUrlConfigRequest AWS API Documentation
6094
+ #
6095
+ class UpdateFunctionUrlConfigRequest < Struct.new(
6096
+ :function_name,
6097
+ :qualifier,
6098
+ :authorization_type,
6099
+ :cors)
6100
+ SENSITIVE = []
6101
+ include Aws::Structure
6102
+ end
6103
+
6104
+ # @!attribute [rw] function_url
6105
+ # @return [String]
6106
+ #
6107
+ # @!attribute [rw] function_arn
6108
+ # @return [String]
6109
+ #
6110
+ # @!attribute [rw] authorization_type
6111
+ # @return [String]
6112
+ #
6113
+ # @!attribute [rw] cors
6114
+ # @return [Types::Cors]
6115
+ #
6116
+ # @!attribute [rw] creation_time
6117
+ # @return [Time]
6118
+ #
6119
+ # @!attribute [rw] last_modified_time
6120
+ # @return [Time]
6121
+ #
6122
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionUrlConfigResponse AWS API Documentation
6123
+ #
6124
+ class UpdateFunctionUrlConfigResponse < Struct.new(
6125
+ :function_url,
6126
+ :function_arn,
6127
+ :authorization_type,
6128
+ :cors,
6129
+ :creation_time,
6130
+ :last_modified_time)
6131
+ SENSITIVE = []
6132
+ include Aws::Structure
6133
+ end
6134
+
5803
6135
  # The VPC security groups and subnets that are attached to a Lambda
5804
6136
  # function. For more information, see [VPC Settings][1].
5805
6137
  #
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-lambda/customizations'
49
49
  # @!group service
50
50
  module Aws::Lambda
51
51
 
52
- GEM_VERSION = '1.69.0'
52
+ GEM_VERSION = '1.73.0'
53
53
 
54
54
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-lambda
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.69.0
4
+ version: 1.73.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-09-29 00:00:00.000000000 Z
11
+ date: 2021-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.120.0
22
+ version: 3.122.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.120.0
32
+ version: 3.122.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement