aws-sdk-lambda 1.151.0 → 1.160.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +45 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lambda/client.rb +214 -68
- data/lib/aws-sdk-lambda/client_api.rb +235 -204
- data/lib/aws-sdk-lambda/types.rb +147 -44
- data/lib/aws-sdk-lambda/waiters.rb +18 -18
- data/lib/aws-sdk-lambda.rb +1 -1
- data/sig/client.rbs +69 -2
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +23 -0
- metadata +4 -4
@@ -196,6 +196,13 @@ module Aws::Lambda
|
|
196
196
|
KMSInvalidStateException = Shapes::StructureShape.new(name: 'KMSInvalidStateException')
|
197
197
|
KMSKeyArn = Shapes::StringShape.new(name: 'KMSKeyArn')
|
198
198
|
KMSNotFoundException = Shapes::StructureShape.new(name: 'KMSNotFoundException')
|
199
|
+
KafkaSchemaRegistryAccessConfig = Shapes::StructureShape.new(name: 'KafkaSchemaRegistryAccessConfig')
|
200
|
+
KafkaSchemaRegistryAccessConfigList = Shapes::ListShape.new(name: 'KafkaSchemaRegistryAccessConfigList')
|
201
|
+
KafkaSchemaRegistryAuthType = Shapes::StringShape.new(name: 'KafkaSchemaRegistryAuthType')
|
202
|
+
KafkaSchemaRegistryConfig = Shapes::StructureShape.new(name: 'KafkaSchemaRegistryConfig')
|
203
|
+
KafkaSchemaValidationAttribute = Shapes::StringShape.new(name: 'KafkaSchemaValidationAttribute')
|
204
|
+
KafkaSchemaValidationConfig = Shapes::StructureShape.new(name: 'KafkaSchemaValidationConfig')
|
205
|
+
KafkaSchemaValidationConfigList = Shapes::ListShape.new(name: 'KafkaSchemaValidationConfigList')
|
199
206
|
LastUpdateStatus = Shapes::StringShape.new(name: 'LastUpdateStatus')
|
200
207
|
LastUpdateStatusReason = Shapes::StringShape.new(name: 'LastUpdateStatusReason')
|
201
208
|
LastUpdateStatusReasonCode = Shapes::StringShape.new(name: 'LastUpdateStatusReasonCode')
|
@@ -321,6 +328,8 @@ module Aws::Lambda
|
|
321
328
|
S3Key = Shapes::StringShape.new(name: 'S3Key')
|
322
329
|
S3ObjectVersion = Shapes::StringShape.new(name: 'S3ObjectVersion')
|
323
330
|
ScalingConfig = Shapes::StructureShape.new(name: 'ScalingConfig')
|
331
|
+
SchemaRegistryEventRecordFormat = Shapes::StringShape.new(name: 'SchemaRegistryEventRecordFormat')
|
332
|
+
SchemaRegistryUri = Shapes::StringShape.new(name: 'SchemaRegistryUri')
|
324
333
|
SecurityGroupId = Shapes::StringShape.new(name: 'SecurityGroupId')
|
325
334
|
SecurityGroupIds = Shapes::ListShape.new(name: 'SecurityGroupIds')
|
326
335
|
SelfManagedEventSource = Shapes::StructureShape.new(name: 'SelfManagedEventSource')
|
@@ -454,6 +463,7 @@ module Aws::Lambda
|
|
454
463
|
AllowedPublishers.struct_class = Types::AllowedPublishers
|
455
464
|
|
456
465
|
AmazonManagedKafkaEventSourceConfig.add_member(:consumer_group_id, Shapes::ShapeRef.new(shape: URI, location_name: "ConsumerGroupId"))
|
466
|
+
AmazonManagedKafkaEventSourceConfig.add_member(:schema_registry_config, Shapes::ShapeRef.new(shape: KafkaSchemaRegistryConfig, location_name: "SchemaRegistryConfig"))
|
457
467
|
AmazonManagedKafkaEventSourceConfig.struct_class = Types::AmazonManagedKafkaEventSourceConfig
|
458
468
|
|
459
469
|
ArchitecturesList.member = Shapes::ShapeRef.new(shape: Architecture)
|
@@ -1069,6 +1079,23 @@ module Aws::Lambda
|
|
1069
1079
|
KMSNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
1070
1080
|
KMSNotFoundException.struct_class = Types::KMSNotFoundException
|
1071
1081
|
|
1082
|
+
KafkaSchemaRegistryAccessConfig.add_member(:type, Shapes::ShapeRef.new(shape: KafkaSchemaRegistryAuthType, location_name: "Type"))
|
1083
|
+
KafkaSchemaRegistryAccessConfig.add_member(:uri, Shapes::ShapeRef.new(shape: Arn, location_name: "URI"))
|
1084
|
+
KafkaSchemaRegistryAccessConfig.struct_class = Types::KafkaSchemaRegistryAccessConfig
|
1085
|
+
|
1086
|
+
KafkaSchemaRegistryAccessConfigList.member = Shapes::ShapeRef.new(shape: KafkaSchemaRegistryAccessConfig)
|
1087
|
+
|
1088
|
+
KafkaSchemaRegistryConfig.add_member(:schema_registry_uri, Shapes::ShapeRef.new(shape: SchemaRegistryUri, location_name: "SchemaRegistryURI"))
|
1089
|
+
KafkaSchemaRegistryConfig.add_member(:event_record_format, Shapes::ShapeRef.new(shape: SchemaRegistryEventRecordFormat, location_name: "EventRecordFormat"))
|
1090
|
+
KafkaSchemaRegistryConfig.add_member(:access_configs, Shapes::ShapeRef.new(shape: KafkaSchemaRegistryAccessConfigList, location_name: "AccessConfigs"))
|
1091
|
+
KafkaSchemaRegistryConfig.add_member(:schema_validation_configs, Shapes::ShapeRef.new(shape: KafkaSchemaValidationConfigList, location_name: "SchemaValidationConfigs"))
|
1092
|
+
KafkaSchemaRegistryConfig.struct_class = Types::KafkaSchemaRegistryConfig
|
1093
|
+
|
1094
|
+
KafkaSchemaValidationConfig.add_member(:attribute, Shapes::ShapeRef.new(shape: KafkaSchemaValidationAttribute, location_name: "Attribute"))
|
1095
|
+
KafkaSchemaValidationConfig.struct_class = Types::KafkaSchemaValidationConfig
|
1096
|
+
|
1097
|
+
KafkaSchemaValidationConfigList.member = Shapes::ShapeRef.new(shape: KafkaSchemaValidationConfig)
|
1098
|
+
|
1072
1099
|
Layer.add_member(:arn, Shapes::ShapeRef.new(shape: LayerVersionArn, location_name: "Arn"))
|
1073
1100
|
Layer.add_member(:code_size, Shapes::ShapeRef.new(shape: Long, location_name: "CodeSize"))
|
1074
1101
|
Layer.add_member(:signing_profile_version_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "SigningProfileVersionArn"))
|
@@ -1205,7 +1232,7 @@ module Aws::Lambda
|
|
1205
1232
|
ListProvisionedConcurrencyConfigsResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: String, location_name: "NextMarker"))
|
1206
1233
|
ListProvisionedConcurrencyConfigsResponse.struct_class = Types::ListProvisionedConcurrencyConfigsResponse
|
1207
1234
|
|
1208
|
-
ListTagsRequest.add_member(:resource, Shapes::ShapeRef.new(shape: TaggableResource, required: true, location: "uri", location_name: "
|
1235
|
+
ListTagsRequest.add_member(:resource, Shapes::ShapeRef.new(shape: TaggableResource, required: true, location: "uri", location_name: "Resource"))
|
1209
1236
|
ListTagsRequest.struct_class = Types::ListTagsRequest
|
1210
1237
|
|
1211
1238
|
ListTagsResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
@@ -1389,6 +1416,7 @@ module Aws::Lambda
|
|
1389
1416
|
SelfManagedEventSource.struct_class = Types::SelfManagedEventSource
|
1390
1417
|
|
1391
1418
|
SelfManagedKafkaEventSourceConfig.add_member(:consumer_group_id, Shapes::ShapeRef.new(shape: URI, location_name: "ConsumerGroupId"))
|
1419
|
+
SelfManagedKafkaEventSourceConfig.add_member(:schema_registry_config, Shapes::ShapeRef.new(shape: KafkaSchemaRegistryConfig, location_name: "SchemaRegistryConfig"))
|
1392
1420
|
SelfManagedKafkaEventSourceConfig.struct_class = Types::SelfManagedKafkaEventSourceConfig
|
1393
1421
|
|
1394
1422
|
ServiceException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
@@ -1432,7 +1460,7 @@ module Aws::Lambda
|
|
1432
1460
|
|
1433
1461
|
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
1434
1462
|
|
1435
|
-
TagResourceRequest.add_member(:resource, Shapes::ShapeRef.new(shape: TaggableResource, required: true, location: "uri", location_name: "
|
1463
|
+
TagResourceRequest.add_member(:resource, Shapes::ShapeRef.new(shape: TaggableResource, required: true, location: "uri", location_name: "Resource"))
|
1436
1464
|
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "Tags"))
|
1437
1465
|
TagResourceRequest.struct_class = Types::TagResourceRequest
|
1438
1466
|
|
@@ -1461,7 +1489,7 @@ module Aws::Lambda
|
|
1461
1489
|
UnsupportedMediaTypeException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
1462
1490
|
UnsupportedMediaTypeException.struct_class = Types::UnsupportedMediaTypeException
|
1463
1491
|
|
1464
|
-
UntagResourceRequest.add_member(:resource, Shapes::ShapeRef.new(shape: TaggableResource, required: true, location: "uri", location_name: "
|
1492
|
+
UntagResourceRequest.add_member(:resource, Shapes::ShapeRef.new(shape: TaggableResource, required: true, location: "uri", location_name: "Resource"))
|
1465
1493
|
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
|
1466
1494
|
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
1467
1495
|
|
@@ -1497,6 +1525,8 @@ module Aws::Lambda
|
|
1497
1525
|
UpdateEventSourceMappingRequest.add_member(:tumbling_window_in_seconds, Shapes::ShapeRef.new(shape: TumblingWindowInSeconds, location_name: "TumblingWindowInSeconds"))
|
1498
1526
|
UpdateEventSourceMappingRequest.add_member(:function_response_types, Shapes::ShapeRef.new(shape: FunctionResponseTypeList, location_name: "FunctionResponseTypes"))
|
1499
1527
|
UpdateEventSourceMappingRequest.add_member(:scaling_config, Shapes::ShapeRef.new(shape: ScalingConfig, location_name: "ScalingConfig"))
|
1528
|
+
UpdateEventSourceMappingRequest.add_member(:amazon_managed_kafka_event_source_config, Shapes::ShapeRef.new(shape: AmazonManagedKafkaEventSourceConfig, location_name: "AmazonManagedKafkaEventSourceConfig"))
|
1529
|
+
UpdateEventSourceMappingRequest.add_member(:self_managed_kafka_event_source_config, Shapes::ShapeRef.new(shape: SelfManagedKafkaEventSourceConfig, location_name: "SelfManagedKafkaEventSourceConfig"))
|
1500
1530
|
UpdateEventSourceMappingRequest.add_member(:document_db_event_source_config, Shapes::ShapeRef.new(shape: DocumentDBEventSourceConfig, location_name: "DocumentDBEventSourceConfig"))
|
1501
1531
|
UpdateEventSourceMappingRequest.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KMSKeyArn, location_name: "KMSKeyArn"))
|
1502
1532
|
UpdateEventSourceMappingRequest.add_member(:metrics_config, Shapes::ShapeRef.new(shape: EventSourceMappingMetricsConfig, location_name: "MetricsConfig"))
|
@@ -1586,6 +1616,7 @@ module Aws::Lambda
|
|
1586
1616
|
"serviceFullName" => "AWS Lambda",
|
1587
1617
|
"serviceId" => "Lambda",
|
1588
1618
|
"signatureVersion" => "v4",
|
1619
|
+
"signingName" => "lambda",
|
1589
1620
|
"uid" => "lambda-2015-03-31",
|
1590
1621
|
}
|
1591
1622
|
|
@@ -1595,12 +1626,12 @@ module Aws::Lambda
|
|
1595
1626
|
o.http_request_uri = "/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy"
|
1596
1627
|
o.input = Shapes::ShapeRef.new(shape: AddLayerVersionPermissionRequest)
|
1597
1628
|
o.output = Shapes::ShapeRef.new(shape: AddLayerVersionPermissionResponse)
|
1598
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
1599
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1629
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1600
1630
|
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
1631
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1601
1632
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1602
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1603
1633
|
o.errors << Shapes::ShapeRef.new(shape: PolicyLengthExceededException)
|
1634
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1604
1635
|
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
|
1605
1636
|
end)
|
1606
1637
|
|
@@ -1610,12 +1641,12 @@ module Aws::Lambda
|
|
1610
1641
|
o.http_request_uri = "/2015-03-31/functions/{FunctionName}/policy"
|
1611
1642
|
o.input = Shapes::ShapeRef.new(shape: AddPermissionRequest)
|
1612
1643
|
o.output = Shapes::ShapeRef.new(shape: AddPermissionResponse)
|
1613
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1614
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1615
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
1616
1644
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1617
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
1645
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
1646
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1618
1647
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1648
|
+
o.errors << Shapes::ShapeRef.new(shape: PolicyLengthExceededException)
|
1649
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1619
1650
|
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
|
1620
1651
|
end)
|
1621
1652
|
|
@@ -1625,32 +1656,32 @@ module Aws::Lambda
|
|
1625
1656
|
o.http_request_uri = "/2015-03-31/functions/{FunctionName}/aliases"
|
1626
1657
|
o.input = Shapes::ShapeRef.new(shape: CreateAliasRequest)
|
1627
1658
|
o.output = Shapes::ShapeRef.new(shape: AliasConfiguration)
|
1628
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1629
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1630
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
1631
1659
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1660
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
1661
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1632
1662
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1663
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1633
1664
|
end)
|
1634
1665
|
|
1635
1666
|
api.add_operation(:create_code_signing_config, Seahorse::Model::Operation.new.tap do |o|
|
1636
1667
|
o.name = "CreateCodeSigningConfig"
|
1637
1668
|
o.http_method = "POST"
|
1638
|
-
o.http_request_uri = "/2020-04-22/code-signing-configs
|
1669
|
+
o.http_request_uri = "/2020-04-22/code-signing-configs"
|
1639
1670
|
o.input = Shapes::ShapeRef.new(shape: CreateCodeSigningConfigRequest)
|
1640
1671
|
o.output = Shapes::ShapeRef.new(shape: CreateCodeSigningConfigResponse)
|
1641
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1642
1672
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1673
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1643
1674
|
end)
|
1644
1675
|
|
1645
1676
|
api.add_operation(:create_event_source_mapping, Seahorse::Model::Operation.new.tap do |o|
|
1646
1677
|
o.name = "CreateEventSourceMapping"
|
1647
1678
|
o.http_method = "POST"
|
1648
|
-
o.http_request_uri = "/2015-03-31/event-source-mappings
|
1679
|
+
o.http_request_uri = "/2015-03-31/event-source-mappings"
|
1649
1680
|
o.input = Shapes::ShapeRef.new(shape: CreateEventSourceMappingRequest)
|
1650
1681
|
o.output = Shapes::ShapeRef.new(shape: EventSourceMappingConfiguration)
|
1651
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1652
1682
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1653
1683
|
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
1684
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1654
1685
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1655
1686
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1656
1687
|
end)
|
@@ -1661,15 +1692,15 @@ module Aws::Lambda
|
|
1661
1692
|
o.http_request_uri = "/2015-03-31/functions"
|
1662
1693
|
o.input = Shapes::ShapeRef.new(shape: CreateFunctionRequest)
|
1663
1694
|
o.output = Shapes::ShapeRef.new(shape: FunctionConfiguration)
|
1664
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1665
1695
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1666
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1667
1696
|
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
1697
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1668
1698
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1669
|
-
o.errors << Shapes::ShapeRef.new(shape: CodeStorageExceededException)
|
1670
|
-
o.errors << Shapes::ShapeRef.new(shape: CodeVerificationFailedException)
|
1671
1699
|
o.errors << Shapes::ShapeRef.new(shape: InvalidCodeSignatureException)
|
1700
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1701
|
+
o.errors << Shapes::ShapeRef.new(shape: CodeVerificationFailedException)
|
1672
1702
|
o.errors << Shapes::ShapeRef.new(shape: CodeSigningConfigNotFoundException)
|
1703
|
+
o.errors << Shapes::ShapeRef.new(shape: CodeStorageExceededException)
|
1673
1704
|
end)
|
1674
1705
|
|
1675
1706
|
api.add_operation(:create_function_url_config, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1678,11 +1709,11 @@ module Aws::Lambda
|
|
1678
1709
|
o.http_request_uri = "/2021-10-31/functions/{FunctionName}/url"
|
1679
1710
|
o.input = Shapes::ShapeRef.new(shape: CreateFunctionUrlConfigRequest)
|
1680
1711
|
o.output = Shapes::ShapeRef.new(shape: CreateFunctionUrlConfigResponse)
|
1681
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
1682
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1683
1712
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1713
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
1684
1714
|
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1685
1715
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1716
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1686
1717
|
end)
|
1687
1718
|
|
1688
1719
|
api.add_operation(:delete_alias, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1691,9 +1722,9 @@ module Aws::Lambda
|
|
1691
1722
|
o.http_request_uri = "/2015-03-31/functions/{FunctionName}/aliases/{Name}"
|
1692
1723
|
o.input = Shapes::ShapeRef.new(shape: DeleteAliasRequest)
|
1693
1724
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1694
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1695
1725
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1696
1726
|
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
1727
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1697
1728
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1698
1729
|
end)
|
1699
1730
|
|
@@ -1703,10 +1734,10 @@ module Aws::Lambda
|
|
1703
1734
|
o.http_request_uri = "/2020-04-22/code-signing-configs/{CodeSigningConfigArn}"
|
1704
1735
|
o.input = Shapes::ShapeRef.new(shape: DeleteCodeSigningConfigRequest)
|
1705
1736
|
o.output = Shapes::ShapeRef.new(shape: DeleteCodeSigningConfigResponse)
|
1706
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1707
1737
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1708
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1709
1738
|
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
1739
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1740
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1710
1741
|
end)
|
1711
1742
|
|
1712
1743
|
api.add_operation(:delete_event_source_mapping, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1715,12 +1746,12 @@ module Aws::Lambda
|
|
1715
1746
|
o.http_request_uri = "/2015-03-31/event-source-mappings/{UUID}"
|
1716
1747
|
o.input = Shapes::ShapeRef.new(shape: DeleteEventSourceMappingRequest)
|
1717
1748
|
o.output = Shapes::ShapeRef.new(shape: EventSourceMappingConfiguration)
|
1718
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1719
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1720
1749
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1721
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1722
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
1723
1750
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1751
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
1752
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1753
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1754
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1724
1755
|
end)
|
1725
1756
|
|
1726
1757
|
api.add_operation(:delete_function, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1729,11 +1760,11 @@ module Aws::Lambda
|
|
1729
1760
|
o.http_request_uri = "/2015-03-31/functions/{FunctionName}"
|
1730
1761
|
o.input = Shapes::ShapeRef.new(shape: DeleteFunctionRequest)
|
1731
1762
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1732
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1733
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1734
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1735
1763
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1736
1764
|
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
1765
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1766
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1767
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1737
1768
|
end)
|
1738
1769
|
|
1739
1770
|
api.add_operation(:delete_function_code_signing_config, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1743,11 +1774,11 @@ module Aws::Lambda
|
|
1743
1774
|
o.input = Shapes::ShapeRef.new(shape: DeleteFunctionCodeSigningConfigRequest)
|
1744
1775
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1745
1776
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1746
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
1747
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1777
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
1748
1778
|
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1749
1779
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1750
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
1780
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1781
|
+
o.errors << Shapes::ShapeRef.new(shape: CodeSigningConfigNotFoundException)
|
1751
1782
|
end)
|
1752
1783
|
|
1753
1784
|
api.add_operation(:delete_function_concurrency, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1756,11 +1787,11 @@ module Aws::Lambda
|
|
1756
1787
|
o.http_request_uri = "/2017-10-31/functions/{FunctionName}/concurrency"
|
1757
1788
|
o.input = Shapes::ShapeRef.new(shape: DeleteFunctionConcurrencyRequest)
|
1758
1789
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1759
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1760
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1761
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1762
1790
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1763
1791
|
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
1792
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1793
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1794
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1764
1795
|
end)
|
1765
1796
|
|
1766
1797
|
api.add_operation(:delete_function_event_invoke_config, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1769,11 +1800,11 @@ module Aws::Lambda
|
|
1769
1800
|
o.http_request_uri = "/2019-09-25/functions/{FunctionName}/event-invoke-config"
|
1770
1801
|
o.input = Shapes::ShapeRef.new(shape: DeleteFunctionEventInvokeConfigRequest)
|
1771
1802
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1772
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1773
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1774
1803
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1775
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1776
1804
|
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
1805
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1806
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1807
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1777
1808
|
end)
|
1778
1809
|
|
1779
1810
|
api.add_operation(:delete_function_url_config, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1783,9 +1814,9 @@ module Aws::Lambda
|
|
1783
1814
|
o.input = Shapes::ShapeRef.new(shape: DeleteFunctionUrlConfigRequest)
|
1784
1815
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1785
1816
|
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
1786
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1787
1817
|
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1788
1818
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1819
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1789
1820
|
end)
|
1790
1821
|
|
1791
1822
|
api.add_operation(:delete_layer_version, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1806,19 +1837,19 @@ module Aws::Lambda
|
|
1806
1837
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1807
1838
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1808
1839
|
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
1809
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1810
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1811
1840
|
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1841
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1842
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1812
1843
|
end)
|
1813
1844
|
|
1814
1845
|
api.add_operation(:get_account_settings, Seahorse::Model::Operation.new.tap do |o|
|
1815
1846
|
o.name = "GetAccountSettings"
|
1816
1847
|
o.http_method = "GET"
|
1817
|
-
o.http_request_uri = "/2016-08-19/account-settings
|
1848
|
+
o.http_request_uri = "/2016-08-19/account-settings"
|
1818
1849
|
o.input = Shapes::ShapeRef.new(shape: GetAccountSettingsRequest)
|
1819
1850
|
o.output = Shapes::ShapeRef.new(shape: GetAccountSettingsResponse)
|
1820
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1821
1851
|
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1852
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1822
1853
|
end)
|
1823
1854
|
|
1824
1855
|
api.add_operation(:get_alias, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1827,10 +1858,10 @@ module Aws::Lambda
|
|
1827
1858
|
o.http_request_uri = "/2015-03-31/functions/{FunctionName}/aliases/{Name}"
|
1828
1859
|
o.input = Shapes::ShapeRef.new(shape: GetAliasRequest)
|
1829
1860
|
o.output = Shapes::ShapeRef.new(shape: AliasConfiguration)
|
1830
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1831
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1832
1861
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1862
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1833
1863
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1864
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1834
1865
|
end)
|
1835
1866
|
|
1836
1867
|
api.add_operation(:get_code_signing_config, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1839,8 +1870,8 @@ module Aws::Lambda
|
|
1839
1870
|
o.http_request_uri = "/2020-04-22/code-signing-configs/{CodeSigningConfigArn}"
|
1840
1871
|
o.input = Shapes::ShapeRef.new(shape: GetCodeSigningConfigRequest)
|
1841
1872
|
o.output = Shapes::ShapeRef.new(shape: GetCodeSigningConfigResponse)
|
1842
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1843
1873
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1874
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1844
1875
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1845
1876
|
end)
|
1846
1877
|
|
@@ -1850,10 +1881,10 @@ module Aws::Lambda
|
|
1850
1881
|
o.http_request_uri = "/2015-03-31/event-source-mappings/{UUID}"
|
1851
1882
|
o.input = Shapes::ShapeRef.new(shape: GetEventSourceMappingRequest)
|
1852
1883
|
o.output = Shapes::ShapeRef.new(shape: EventSourceMappingConfiguration)
|
1853
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1854
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1855
1884
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1885
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1856
1886
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1887
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1857
1888
|
end)
|
1858
1889
|
|
1859
1890
|
api.add_operation(:get_function, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1862,10 +1893,10 @@ module Aws::Lambda
|
|
1862
1893
|
o.http_request_uri = "/2015-03-31/functions/{FunctionName}"
|
1863
1894
|
o.input = Shapes::ShapeRef.new(shape: GetFunctionRequest)
|
1864
1895
|
o.output = Shapes::ShapeRef.new(shape: GetFunctionResponse)
|
1896
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1865
1897
|
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1866
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1867
1898
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1868
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
1899
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1869
1900
|
end)
|
1870
1901
|
|
1871
1902
|
api.add_operation(:get_function_code_signing_config, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1875,9 +1906,9 @@ module Aws::Lambda
|
|
1875
1906
|
o.input = Shapes::ShapeRef.new(shape: GetFunctionCodeSigningConfigRequest)
|
1876
1907
|
o.output = Shapes::ShapeRef.new(shape: GetFunctionCodeSigningConfigResponse)
|
1877
1908
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1878
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1879
1909
|
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1880
1910
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1911
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1881
1912
|
end)
|
1882
1913
|
|
1883
1914
|
api.add_operation(:get_function_concurrency, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1887,9 +1918,9 @@ module Aws::Lambda
|
|
1887
1918
|
o.input = Shapes::ShapeRef.new(shape: GetFunctionConcurrencyRequest)
|
1888
1919
|
o.output = Shapes::ShapeRef.new(shape: GetFunctionConcurrencyResponse)
|
1889
1920
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1890
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1891
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1892
1921
|
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1922
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1923
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1893
1924
|
end)
|
1894
1925
|
|
1895
1926
|
api.add_operation(:get_function_configuration, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1898,10 +1929,10 @@ module Aws::Lambda
|
|
1898
1929
|
o.http_request_uri = "/2015-03-31/functions/{FunctionName}/configuration"
|
1899
1930
|
o.input = Shapes::ShapeRef.new(shape: GetFunctionConfigurationRequest)
|
1900
1931
|
o.output = Shapes::ShapeRef.new(shape: FunctionConfiguration)
|
1932
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1901
1933
|
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1902
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1903
1934
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1904
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
1935
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1905
1936
|
end)
|
1906
1937
|
|
1907
1938
|
api.add_operation(:get_function_event_invoke_config, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1910,10 +1941,10 @@ module Aws::Lambda
|
|
1910
1941
|
o.http_request_uri = "/2019-09-25/functions/{FunctionName}/event-invoke-config"
|
1911
1942
|
o.input = Shapes::ShapeRef.new(shape: GetFunctionEventInvokeConfigRequest)
|
1912
1943
|
o.output = Shapes::ShapeRef.new(shape: FunctionEventInvokeConfig)
|
1913
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1914
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1915
1944
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1945
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1916
1946
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1947
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1917
1948
|
end)
|
1918
1949
|
|
1919
1950
|
api.add_operation(:get_function_recursion_config, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1923,9 +1954,9 @@ module Aws::Lambda
|
|
1923
1954
|
o.input = Shapes::ShapeRef.new(shape: GetFunctionRecursionConfigRequest)
|
1924
1955
|
o.output = Shapes::ShapeRef.new(shape: GetFunctionRecursionConfigResponse)
|
1925
1956
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1926
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1927
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1928
1957
|
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1958
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1959
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1929
1960
|
end)
|
1930
1961
|
|
1931
1962
|
api.add_operation(:get_function_url_config, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1936,8 +1967,8 @@ module Aws::Lambda
|
|
1936
1967
|
o.output = Shapes::ShapeRef.new(shape: GetFunctionUrlConfigResponse)
|
1937
1968
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1938
1969
|
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1939
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1940
1970
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1971
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1941
1972
|
end)
|
1942
1973
|
|
1943
1974
|
api.add_operation(:get_layer_version, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1946,8 +1977,8 @@ module Aws::Lambda
|
|
1946
1977
|
o.http_request_uri = "/2018-10-31/layers/{LayerName}/versions/{VersionNumber}"
|
1947
1978
|
o.input = Shapes::ShapeRef.new(shape: GetLayerVersionRequest)
|
1948
1979
|
o.output = Shapes::ShapeRef.new(shape: GetLayerVersionResponse)
|
1949
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1950
1980
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1981
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1951
1982
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1952
1983
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1953
1984
|
end)
|
@@ -1958,8 +1989,8 @@ module Aws::Lambda
|
|
1958
1989
|
o.http_request_uri = "/2018-10-31/layers?find=LayerVersion"
|
1959
1990
|
o.input = Shapes::ShapeRef.new(shape: GetLayerVersionByArnRequest)
|
1960
1991
|
o.output = Shapes::ShapeRef.new(shape: GetLayerVersionResponse)
|
1961
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1962
1992
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1993
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1963
1994
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1964
1995
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1965
1996
|
end)
|
@@ -1970,10 +2001,10 @@ module Aws::Lambda
|
|
1970
2001
|
o.http_request_uri = "/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy"
|
1971
2002
|
o.input = Shapes::ShapeRef.new(shape: GetLayerVersionPolicyRequest)
|
1972
2003
|
o.output = Shapes::ShapeRef.new(shape: GetLayerVersionPolicyResponse)
|
2004
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1973
2005
|
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1974
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1975
2006
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1976
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2007
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1977
2008
|
end)
|
1978
2009
|
|
1979
2010
|
api.add_operation(:get_policy, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1982,10 +2013,10 @@ module Aws::Lambda
|
|
1982
2013
|
o.http_request_uri = "/2015-03-31/functions/{FunctionName}/policy"
|
1983
2014
|
o.input = Shapes::ShapeRef.new(shape: GetPolicyRequest)
|
1984
2015
|
o.output = Shapes::ShapeRef.new(shape: GetPolicyResponse)
|
2016
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1985
2017
|
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1986
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1987
2018
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1988
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2019
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1989
2020
|
end)
|
1990
2021
|
|
1991
2022
|
api.add_operation(:get_provisioned_concurrency_config, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1995,10 +2026,10 @@ module Aws::Lambda
|
|
1995
2026
|
o.input = Shapes::ShapeRef.new(shape: GetProvisionedConcurrencyConfigRequest)
|
1996
2027
|
o.output = Shapes::ShapeRef.new(shape: GetProvisionedConcurrencyConfigResponse)
|
1997
2028
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1998
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1999
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2000
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2001
2029
|
o.errors << Shapes::ShapeRef.new(shape: ProvisionedConcurrencyConfigNotFoundException)
|
2030
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2031
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2032
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2002
2033
|
end)
|
2003
2034
|
|
2004
2035
|
api.add_operation(:get_runtime_management_config, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2007,10 +2038,10 @@ module Aws::Lambda
|
|
2007
2038
|
o.http_request_uri = "/2021-07-20/functions/{FunctionName}/runtime-management-config"
|
2008
2039
|
o.input = Shapes::ShapeRef.new(shape: GetRuntimeManagementConfigRequest)
|
2009
2040
|
o.output = Shapes::ShapeRef.new(shape: GetRuntimeManagementConfigResponse)
|
2010
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2011
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2012
2041
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2042
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2013
2043
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2044
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2014
2045
|
end)
|
2015
2046
|
|
2016
2047
|
api.add_operation(:invoke, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2019,50 +2050,50 @@ module Aws::Lambda
|
|
2019
2050
|
o.http_request_uri = "/2015-03-31/functions/{FunctionName}/invocations"
|
2020
2051
|
o.input = Shapes::ShapeRef.new(shape: InvocationRequest)
|
2021
2052
|
o.output = Shapes::ShapeRef.new(shape: InvocationResponse)
|
2022
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2023
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2024
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2053
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotReadyException)
|
2054
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurityGroupIDException)
|
2055
|
+
o.errors << Shapes::ShapeRef.new(shape: SnapStartTimeoutException)
|
2056
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2057
|
+
o.errors << Shapes::ShapeRef.new(shape: EC2ThrottledException)
|
2058
|
+
o.errors << Shapes::ShapeRef.new(shape: EFSMountConnectivityException)
|
2059
|
+
o.errors << Shapes::ShapeRef.new(shape: SubnetIPAddressLimitReachedException)
|
2060
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSAccessDeniedException)
|
2025
2061
|
o.errors << Shapes::ShapeRef.new(shape: RequestTooLargeException)
|
2062
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSDisabledException)
|
2026
2063
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedMediaTypeException)
|
2027
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2028
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2064
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRuntimeException)
|
2029
2065
|
o.errors << Shapes::ShapeRef.new(shape: EC2UnexpectedException)
|
2030
|
-
o.errors << Shapes::ShapeRef.new(shape: SubnetIPAddressLimitReachedException)
|
2031
|
-
o.errors << Shapes::ShapeRef.new(shape: ENILimitReachedException)
|
2032
|
-
o.errors << Shapes::ShapeRef.new(shape: EFSMountConnectivityException)
|
2033
|
-
o.errors << Shapes::ShapeRef.new(shape: EFSMountFailureException)
|
2034
|
-
o.errors << Shapes::ShapeRef.new(shape: EFSMountTimeoutException)
|
2035
|
-
o.errors << Shapes::ShapeRef.new(shape: EFSIOException)
|
2036
|
-
o.errors << Shapes::ShapeRef.new(shape: SnapStartException)
|
2037
|
-
o.errors << Shapes::ShapeRef.new(shape: SnapStartTimeoutException)
|
2038
|
-
o.errors << Shapes::ShapeRef.new(shape: SnapStartNotReadyException)
|
2039
|
-
o.errors << Shapes::ShapeRef.new(shape: EC2ThrottledException)
|
2040
|
-
o.errors << Shapes::ShapeRef.new(shape: EC2AccessDeniedException)
|
2041
2066
|
o.errors << Shapes::ShapeRef.new(shape: InvalidSubnetIDException)
|
2042
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurityGroupIDException)
|
2043
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidZipFileException)
|
2044
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSDisabledException)
|
2045
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
2046
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSAccessDeniedException)
|
2047
2067
|
o.errors << Shapes::ShapeRef.new(shape: KMSNotFoundException)
|
2048
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2068
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2069
|
+
o.errors << Shapes::ShapeRef.new(shape: EC2AccessDeniedException)
|
2070
|
+
o.errors << Shapes::ShapeRef.new(shape: EFSIOException)
|
2071
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
2049
2072
|
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
2050
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2073
|
+
o.errors << Shapes::ShapeRef.new(shape: ENILimitReachedException)
|
2074
|
+
o.errors << Shapes::ShapeRef.new(shape: SnapStartNotReadyException)
|
2075
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2076
|
+
o.errors << Shapes::ShapeRef.new(shape: SnapStartException)
|
2051
2077
|
o.errors << Shapes::ShapeRef.new(shape: RecursiveInvocationException)
|
2078
|
+
o.errors << Shapes::ShapeRef.new(shape: EFSMountTimeoutException)
|
2079
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2080
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestContentException)
|
2081
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidZipFileException)
|
2082
|
+
o.errors << Shapes::ShapeRef.new(shape: EFSMountFailureException)
|
2052
2083
|
end)
|
2053
2084
|
|
2054
2085
|
api.add_operation(:invoke_async, Seahorse::Model::Operation.new.tap do |o|
|
2055
2086
|
o.name = "InvokeAsync"
|
2056
2087
|
o.http_method = "POST"
|
2057
|
-
o.http_request_uri = "/2014-11-13/functions/{FunctionName}/invoke-async
|
2088
|
+
o.http_request_uri = "/2014-11-13/functions/{FunctionName}/invoke-async"
|
2058
2089
|
o.deprecated = true
|
2059
2090
|
o.input = Shapes::ShapeRef.new(shape: InvokeAsyncRequest)
|
2060
2091
|
o.output = Shapes::ShapeRef.new(shape: InvokeAsyncResponse)
|
2092
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRuntimeException)
|
2093
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
2061
2094
|
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2062
2095
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2063
2096
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestContentException)
|
2064
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidRuntimeException)
|
2065
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
2066
2097
|
end)
|
2067
2098
|
|
2068
2099
|
api.add_operation(:invoke_with_response_stream, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2071,36 +2102,36 @@ module Aws::Lambda
|
|
2071
2102
|
o.http_request_uri = "/2021-11-15/functions/{FunctionName}/response-streaming-invocations"
|
2072
2103
|
o.input = Shapes::ShapeRef.new(shape: InvokeWithResponseStreamRequest)
|
2073
2104
|
o.output = Shapes::ShapeRef.new(shape: InvokeWithResponseStreamResponse)
|
2074
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2075
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2076
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2105
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotReadyException)
|
2106
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurityGroupIDException)
|
2107
|
+
o.errors << Shapes::ShapeRef.new(shape: SnapStartTimeoutException)
|
2108
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2109
|
+
o.errors << Shapes::ShapeRef.new(shape: EC2ThrottledException)
|
2110
|
+
o.errors << Shapes::ShapeRef.new(shape: EFSMountConnectivityException)
|
2111
|
+
o.errors << Shapes::ShapeRef.new(shape: SubnetIPAddressLimitReachedException)
|
2112
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSAccessDeniedException)
|
2077
2113
|
o.errors << Shapes::ShapeRef.new(shape: RequestTooLargeException)
|
2114
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSDisabledException)
|
2078
2115
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedMediaTypeException)
|
2079
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2080
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2116
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRuntimeException)
|
2081
2117
|
o.errors << Shapes::ShapeRef.new(shape: EC2UnexpectedException)
|
2082
|
-
o.errors << Shapes::ShapeRef.new(shape: SubnetIPAddressLimitReachedException)
|
2083
|
-
o.errors << Shapes::ShapeRef.new(shape: ENILimitReachedException)
|
2084
|
-
o.errors << Shapes::ShapeRef.new(shape: EFSMountConnectivityException)
|
2085
|
-
o.errors << Shapes::ShapeRef.new(shape: EFSMountFailureException)
|
2086
|
-
o.errors << Shapes::ShapeRef.new(shape: EFSMountTimeoutException)
|
2087
|
-
o.errors << Shapes::ShapeRef.new(shape: EFSIOException)
|
2088
|
-
o.errors << Shapes::ShapeRef.new(shape: SnapStartException)
|
2089
|
-
o.errors << Shapes::ShapeRef.new(shape: SnapStartTimeoutException)
|
2090
|
-
o.errors << Shapes::ShapeRef.new(shape: SnapStartNotReadyException)
|
2091
|
-
o.errors << Shapes::ShapeRef.new(shape: EC2ThrottledException)
|
2092
|
-
o.errors << Shapes::ShapeRef.new(shape: EC2AccessDeniedException)
|
2093
2118
|
o.errors << Shapes::ShapeRef.new(shape: InvalidSubnetIDException)
|
2094
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurityGroupIDException)
|
2095
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidZipFileException)
|
2096
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSDisabledException)
|
2097
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
2098
|
-
o.errors << Shapes::ShapeRef.new(shape: KMSAccessDeniedException)
|
2099
2119
|
o.errors << Shapes::ShapeRef.new(shape: KMSNotFoundException)
|
2100
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2120
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2121
|
+
o.errors << Shapes::ShapeRef.new(shape: EC2AccessDeniedException)
|
2122
|
+
o.errors << Shapes::ShapeRef.new(shape: EFSIOException)
|
2123
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
|
2101
2124
|
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
2102
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2125
|
+
o.errors << Shapes::ShapeRef.new(shape: ENILimitReachedException)
|
2126
|
+
o.errors << Shapes::ShapeRef.new(shape: SnapStartNotReadyException)
|
2127
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2128
|
+
o.errors << Shapes::ShapeRef.new(shape: SnapStartException)
|
2103
2129
|
o.errors << Shapes::ShapeRef.new(shape: RecursiveInvocationException)
|
2130
|
+
o.errors << Shapes::ShapeRef.new(shape: EFSMountTimeoutException)
|
2131
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2132
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestContentException)
|
2133
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidZipFileException)
|
2134
|
+
o.errors << Shapes::ShapeRef.new(shape: EFSMountFailureException)
|
2104
2135
|
end)
|
2105
2136
|
|
2106
2137
|
api.add_operation(:list_aliases, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2109,10 +2140,10 @@ module Aws::Lambda
|
|
2109
2140
|
o.http_request_uri = "/2015-03-31/functions/{FunctionName}/aliases"
|
2110
2141
|
o.input = Shapes::ShapeRef.new(shape: ListAliasesRequest)
|
2111
2142
|
o.output = Shapes::ShapeRef.new(shape: ListAliasesResponse)
|
2112
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2113
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2114
2143
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2144
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2115
2145
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2146
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2116
2147
|
o[:pager] = Aws::Pager.new(
|
2117
2148
|
limit_key: "max_items",
|
2118
2149
|
tokens: {
|
@@ -2124,11 +2155,11 @@ module Aws::Lambda
|
|
2124
2155
|
api.add_operation(:list_code_signing_configs, Seahorse::Model::Operation.new.tap do |o|
|
2125
2156
|
o.name = "ListCodeSigningConfigs"
|
2126
2157
|
o.http_method = "GET"
|
2127
|
-
o.http_request_uri = "/2020-04-22/code-signing-configs
|
2158
|
+
o.http_request_uri = "/2020-04-22/code-signing-configs"
|
2128
2159
|
o.input = Shapes::ShapeRef.new(shape: ListCodeSigningConfigsRequest)
|
2129
2160
|
o.output = Shapes::ShapeRef.new(shape: ListCodeSigningConfigsResponse)
|
2130
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2131
2161
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2162
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2132
2163
|
o[:pager] = Aws::Pager.new(
|
2133
2164
|
limit_key: "max_items",
|
2134
2165
|
tokens: {
|
@@ -2140,13 +2171,13 @@ module Aws::Lambda
|
|
2140
2171
|
api.add_operation(:list_event_source_mappings, Seahorse::Model::Operation.new.tap do |o|
|
2141
2172
|
o.name = "ListEventSourceMappings"
|
2142
2173
|
o.http_method = "GET"
|
2143
|
-
o.http_request_uri = "/2015-03-31/event-source-mappings
|
2174
|
+
o.http_request_uri = "/2015-03-31/event-source-mappings"
|
2144
2175
|
o.input = Shapes::ShapeRef.new(shape: ListEventSourceMappingsRequest)
|
2145
2176
|
o.output = Shapes::ShapeRef.new(shape: ListEventSourceMappingsResponse)
|
2146
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2147
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2148
2177
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2178
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2149
2179
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2180
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2150
2181
|
o[:pager] = Aws::Pager.new(
|
2151
2182
|
limit_key: "max_items",
|
2152
2183
|
tokens: {
|
@@ -2162,9 +2193,9 @@ module Aws::Lambda
|
|
2162
2193
|
o.input = Shapes::ShapeRef.new(shape: ListFunctionEventInvokeConfigsRequest)
|
2163
2194
|
o.output = Shapes::ShapeRef.new(shape: ListFunctionEventInvokeConfigsResponse)
|
2164
2195
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2165
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2166
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2167
2196
|
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2197
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2198
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2168
2199
|
o[:pager] = Aws::Pager.new(
|
2169
2200
|
limit_key: "max_items",
|
2170
2201
|
tokens: {
|
@@ -2181,8 +2212,8 @@ module Aws::Lambda
|
|
2181
2212
|
o.output = Shapes::ShapeRef.new(shape: ListFunctionUrlConfigsResponse)
|
2182
2213
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2183
2214
|
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2184
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2185
2215
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2216
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2186
2217
|
o[:pager] = Aws::Pager.new(
|
2187
2218
|
limit_key: "max_items",
|
2188
2219
|
tokens: {
|
@@ -2194,12 +2225,12 @@ module Aws::Lambda
|
|
2194
2225
|
api.add_operation(:list_functions, Seahorse::Model::Operation.new.tap do |o|
|
2195
2226
|
o.name = "ListFunctions"
|
2196
2227
|
o.http_method = "GET"
|
2197
|
-
o.http_request_uri = "/2015-03-31/functions
|
2228
|
+
o.http_request_uri = "/2015-03-31/functions"
|
2198
2229
|
o.input = Shapes::ShapeRef.new(shape: ListFunctionsRequest)
|
2199
2230
|
o.output = Shapes::ShapeRef.new(shape: ListFunctionsResponse)
|
2231
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2200
2232
|
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2201
2233
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2202
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2203
2234
|
o[:pager] = Aws::Pager.new(
|
2204
2235
|
limit_key: "max_items",
|
2205
2236
|
tokens: {
|
@@ -2214,8 +2245,8 @@ module Aws::Lambda
|
|
2214
2245
|
o.http_request_uri = "/2020-04-22/code-signing-configs/{CodeSigningConfigArn}/functions"
|
2215
2246
|
o.input = Shapes::ShapeRef.new(shape: ListFunctionsByCodeSigningConfigRequest)
|
2216
2247
|
o.output = Shapes::ShapeRef.new(shape: ListFunctionsByCodeSigningConfigResponse)
|
2217
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2218
2248
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2249
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2219
2250
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2220
2251
|
o[:pager] = Aws::Pager.new(
|
2221
2252
|
limit_key: "max_items",
|
@@ -2231,10 +2262,10 @@ module Aws::Lambda
|
|
2231
2262
|
o.http_request_uri = "/2018-10-31/layers/{LayerName}/versions"
|
2232
2263
|
o.input = Shapes::ShapeRef.new(shape: ListLayerVersionsRequest)
|
2233
2264
|
o.output = Shapes::ShapeRef.new(shape: ListLayerVersionsResponse)
|
2234
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2235
2265
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2236
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2266
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2237
2267
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2268
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2238
2269
|
o[:pager] = Aws::Pager.new(
|
2239
2270
|
limit_key: "max_items",
|
2240
2271
|
tokens: {
|
@@ -2249,8 +2280,8 @@ module Aws::Lambda
|
|
2249
2280
|
o.http_request_uri = "/2018-10-31/layers"
|
2250
2281
|
o.input = Shapes::ShapeRef.new(shape: ListLayersRequest)
|
2251
2282
|
o.output = Shapes::ShapeRef.new(shape: ListLayersResponse)
|
2252
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2253
2283
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2284
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2254
2285
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2255
2286
|
o[:pager] = Aws::Pager.new(
|
2256
2287
|
limit_key: "max_items",
|
@@ -2267,9 +2298,9 @@ module Aws::Lambda
|
|
2267
2298
|
o.input = Shapes::ShapeRef.new(shape: ListProvisionedConcurrencyConfigsRequest)
|
2268
2299
|
o.output = Shapes::ShapeRef.new(shape: ListProvisionedConcurrencyConfigsResponse)
|
2269
2300
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2270
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2271
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2272
2301
|
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2302
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2303
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2273
2304
|
o[:pager] = Aws::Pager.new(
|
2274
2305
|
limit_key: "max_items",
|
2275
2306
|
tokens: {
|
@@ -2281,13 +2312,13 @@ module Aws::Lambda
|
|
2281
2312
|
api.add_operation(:list_tags, Seahorse::Model::Operation.new.tap do |o|
|
2282
2313
|
o.name = "ListTags"
|
2283
2314
|
o.http_method = "GET"
|
2284
|
-
o.http_request_uri = "/2017-03-31/tags/{
|
2315
|
+
o.http_request_uri = "/2017-03-31/tags/{Resource}"
|
2285
2316
|
o.input = Shapes::ShapeRef.new(shape: ListTagsRequest)
|
2286
2317
|
o.output = Shapes::ShapeRef.new(shape: ListTagsResponse)
|
2287
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2288
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2289
2318
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2319
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2290
2320
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2321
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2291
2322
|
end)
|
2292
2323
|
|
2293
2324
|
api.add_operation(:list_versions_by_function, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2296,10 +2327,10 @@ module Aws::Lambda
|
|
2296
2327
|
o.http_request_uri = "/2015-03-31/functions/{FunctionName}/versions"
|
2297
2328
|
o.input = Shapes::ShapeRef.new(shape: ListVersionsByFunctionRequest)
|
2298
2329
|
o.output = Shapes::ShapeRef.new(shape: ListVersionsByFunctionResponse)
|
2299
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2300
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2301
2330
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2331
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2302
2332
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2333
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2303
2334
|
o[:pager] = Aws::Pager.new(
|
2304
2335
|
limit_key: "max_items",
|
2305
2336
|
tokens: {
|
@@ -2314,10 +2345,10 @@ module Aws::Lambda
|
|
2314
2345
|
o.http_request_uri = "/2018-10-31/layers/{LayerName}/versions"
|
2315
2346
|
o.input = Shapes::ShapeRef.new(shape: PublishLayerVersionRequest)
|
2316
2347
|
o.output = Shapes::ShapeRef.new(shape: PublishLayerVersionResponse)
|
2348
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2317
2349
|
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2318
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2319
2350
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2320
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2351
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2321
2352
|
o.errors << Shapes::ShapeRef.new(shape: CodeStorageExceededException)
|
2322
2353
|
end)
|
2323
2354
|
|
@@ -2327,13 +2358,13 @@ module Aws::Lambda
|
|
2327
2358
|
o.http_request_uri = "/2015-03-31/functions/{FunctionName}/versions"
|
2328
2359
|
o.input = Shapes::ShapeRef.new(shape: PublishVersionRequest)
|
2329
2360
|
o.output = Shapes::ShapeRef.new(shape: FunctionConfiguration)
|
2330
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2331
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2332
2361
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2362
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
2363
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2333
2364
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2365
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2334
2366
|
o.errors << Shapes::ShapeRef.new(shape: CodeStorageExceededException)
|
2335
2367
|
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
|
2336
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
2337
2368
|
end)
|
2338
2369
|
|
2339
2370
|
api.add_operation(:put_function_code_signing_config, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2342,11 +2373,11 @@ module Aws::Lambda
|
|
2342
2373
|
o.http_request_uri = "/2020-06-30/functions/{FunctionName}/code-signing-config"
|
2343
2374
|
o.input = Shapes::ShapeRef.new(shape: PutFunctionCodeSigningConfigRequest)
|
2344
2375
|
o.output = Shapes::ShapeRef.new(shape: PutFunctionCodeSigningConfigResponse)
|
2345
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2346
2376
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2347
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2348
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2349
2377
|
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
2378
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2379
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2380
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2350
2381
|
o.errors << Shapes::ShapeRef.new(shape: CodeSigningConfigNotFoundException)
|
2351
2382
|
end)
|
2352
2383
|
|
@@ -2356,11 +2387,11 @@ module Aws::Lambda
|
|
2356
2387
|
o.http_request_uri = "/2017-10-31/functions/{FunctionName}/concurrency"
|
2357
2388
|
o.input = Shapes::ShapeRef.new(shape: PutFunctionConcurrencyRequest)
|
2358
2389
|
o.output = Shapes::ShapeRef.new(shape: Concurrency)
|
2359
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2360
2390
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2361
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2362
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2363
2391
|
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
2392
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2393
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2394
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2364
2395
|
end)
|
2365
2396
|
|
2366
2397
|
api.add_operation(:put_function_event_invoke_config, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2369,11 +2400,11 @@ module Aws::Lambda
|
|
2369
2400
|
o.http_request_uri = "/2019-09-25/functions/{FunctionName}/event-invoke-config"
|
2370
2401
|
o.input = Shapes::ShapeRef.new(shape: PutFunctionEventInvokeConfigRequest)
|
2371
2402
|
o.output = Shapes::ShapeRef.new(shape: FunctionEventInvokeConfig)
|
2372
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2373
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2374
2403
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2375
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2376
2404
|
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
2405
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2406
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2407
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2377
2408
|
end)
|
2378
2409
|
|
2379
2410
|
api.add_operation(:put_function_recursion_config, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2384,9 +2415,9 @@ module Aws::Lambda
|
|
2384
2415
|
o.output = Shapes::ShapeRef.new(shape: PutFunctionRecursionConfigResponse)
|
2385
2416
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2386
2417
|
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
2387
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2388
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2389
2418
|
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2419
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2420
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2390
2421
|
end)
|
2391
2422
|
|
2392
2423
|
api.add_operation(:put_provisioned_concurrency_config, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2396,10 +2427,10 @@ module Aws::Lambda
|
|
2396
2427
|
o.input = Shapes::ShapeRef.new(shape: PutProvisionedConcurrencyConfigRequest)
|
2397
2428
|
o.output = Shapes::ShapeRef.new(shape: PutProvisionedConcurrencyConfigResponse)
|
2398
2429
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2399
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2400
2430
|
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
2401
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2402
2431
|
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2432
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2433
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2403
2434
|
end)
|
2404
2435
|
|
2405
2436
|
api.add_operation(:put_runtime_management_config, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2408,11 +2439,11 @@ module Aws::Lambda
|
|
2408
2439
|
o.http_request_uri = "/2021-07-20/functions/{FunctionName}/runtime-management-config"
|
2409
2440
|
o.input = Shapes::ShapeRef.new(shape: PutRuntimeManagementConfigRequest)
|
2410
2441
|
o.output = Shapes::ShapeRef.new(shape: PutRuntimeManagementConfigResponse)
|
2411
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2412
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2413
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
2414
2442
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2443
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
2444
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2415
2445
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2446
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2416
2447
|
end)
|
2417
2448
|
|
2418
2449
|
api.add_operation(:remove_layer_version_permission, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2421,10 +2452,10 @@ module Aws::Lambda
|
|
2421
2452
|
o.http_request_uri = "/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy/{StatementId}"
|
2422
2453
|
o.input = Shapes::ShapeRef.new(shape: RemoveLayerVersionPermissionRequest)
|
2423
2454
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
2424
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2425
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2426
2455
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2456
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2427
2457
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2458
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2428
2459
|
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
|
2429
2460
|
end)
|
2430
2461
|
|
@@ -2434,37 +2465,37 @@ module Aws::Lambda
|
|
2434
2465
|
o.http_request_uri = "/2015-03-31/functions/{FunctionName}/policy/{StatementId}"
|
2435
2466
|
o.input = Shapes::ShapeRef.new(shape: RemovePermissionRequest)
|
2436
2467
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
2437
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2438
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2439
2468
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2469
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2440
2470
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2471
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2441
2472
|
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
|
2442
2473
|
end)
|
2443
2474
|
|
2444
2475
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
2445
2476
|
o.name = "TagResource"
|
2446
2477
|
o.http_method = "POST"
|
2447
|
-
o.http_request_uri = "/2017-03-31/tags/{
|
2478
|
+
o.http_request_uri = "/2017-03-31/tags/{Resource}"
|
2448
2479
|
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
2449
2480
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
2450
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2451
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2452
2481
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2453
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2454
2482
|
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
2483
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2484
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2485
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2455
2486
|
end)
|
2456
2487
|
|
2457
2488
|
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
2458
2489
|
o.name = "UntagResource"
|
2459
2490
|
o.http_method = "DELETE"
|
2460
|
-
o.http_request_uri = "/2017-03-31/tags/{
|
2491
|
+
o.http_request_uri = "/2017-03-31/tags/{Resource}"
|
2461
2492
|
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
2462
2493
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
2463
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2464
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2465
2494
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2466
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2467
2495
|
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
2496
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2497
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2498
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2468
2499
|
end)
|
2469
2500
|
|
2470
2501
|
api.add_operation(:update_alias, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2473,12 +2504,12 @@ module Aws::Lambda
|
|
2473
2504
|
o.http_request_uri = "/2015-03-31/functions/{FunctionName}/aliases/{Name}"
|
2474
2505
|
o.input = Shapes::ShapeRef.new(shape: UpdateAliasRequest)
|
2475
2506
|
o.output = Shapes::ShapeRef.new(shape: AliasConfiguration)
|
2476
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2477
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2478
2507
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2508
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
2509
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2479
2510
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2511
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2480
2512
|
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
|
2481
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
2482
2513
|
end)
|
2483
2514
|
|
2484
2515
|
api.add_operation(:update_code_signing_config, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2487,8 +2518,8 @@ module Aws::Lambda
|
|
2487
2518
|
o.http_request_uri = "/2020-04-22/code-signing-configs/{CodeSigningConfigArn}"
|
2488
2519
|
o.input = Shapes::ShapeRef.new(shape: UpdateCodeSigningConfigRequest)
|
2489
2520
|
o.output = Shapes::ShapeRef.new(shape: UpdateCodeSigningConfigResponse)
|
2490
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2491
2521
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2522
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2492
2523
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2493
2524
|
end)
|
2494
2525
|
|
@@ -2498,12 +2529,12 @@ module Aws::Lambda
|
|
2498
2529
|
o.http_request_uri = "/2015-03-31/event-source-mappings/{UUID}"
|
2499
2530
|
o.input = Shapes::ShapeRef.new(shape: UpdateEventSourceMappingRequest)
|
2500
2531
|
o.output = Shapes::ShapeRef.new(shape: EventSourceMappingConfiguration)
|
2501
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2502
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2503
2532
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2504
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2505
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
2506
2533
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
2534
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
2535
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2536
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2537
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2507
2538
|
end)
|
2508
2539
|
|
2509
2540
|
api.add_operation(:update_function_code, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2512,16 +2543,16 @@ module Aws::Lambda
|
|
2512
2543
|
o.http_request_uri = "/2015-03-31/functions/{FunctionName}/code"
|
2513
2544
|
o.input = Shapes::ShapeRef.new(shape: UpdateFunctionCodeRequest)
|
2514
2545
|
o.output = Shapes::ShapeRef.new(shape: FunctionConfiguration)
|
2515
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2516
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2517
2546
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2518
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2519
|
-
o.errors << Shapes::ShapeRef.new(shape: CodeStorageExceededException)
|
2520
|
-
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
|
2521
2547
|
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
2522
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2548
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2549
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2523
2550
|
o.errors << Shapes::ShapeRef.new(shape: InvalidCodeSignatureException)
|
2551
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2552
|
+
o.errors << Shapes::ShapeRef.new(shape: CodeVerificationFailedException)
|
2524
2553
|
o.errors << Shapes::ShapeRef.new(shape: CodeSigningConfigNotFoundException)
|
2554
|
+
o.errors << Shapes::ShapeRef.new(shape: CodeStorageExceededException)
|
2555
|
+
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
|
2525
2556
|
end)
|
2526
2557
|
|
2527
2558
|
api.add_operation(:update_function_configuration, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2530,15 +2561,15 @@ module Aws::Lambda
|
|
2530
2561
|
o.http_request_uri = "/2015-03-31/functions/{FunctionName}/configuration"
|
2531
2562
|
o.input = Shapes::ShapeRef.new(shape: UpdateFunctionConfigurationRequest)
|
2532
2563
|
o.output = Shapes::ShapeRef.new(shape: FunctionConfiguration)
|
2533
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2534
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2535
2564
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2536
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2537
2565
|
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
2538
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2539
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2566
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2567
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2540
2568
|
o.errors << Shapes::ShapeRef.new(shape: InvalidCodeSignatureException)
|
2569
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2570
|
+
o.errors << Shapes::ShapeRef.new(shape: CodeVerificationFailedException)
|
2541
2571
|
o.errors << Shapes::ShapeRef.new(shape: CodeSigningConfigNotFoundException)
|
2572
|
+
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
|
2542
2573
|
end)
|
2543
2574
|
|
2544
2575
|
api.add_operation(:update_function_event_invoke_config, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2547,11 +2578,11 @@ module Aws::Lambda
|
|
2547
2578
|
o.http_request_uri = "/2019-09-25/functions/{FunctionName}/event-invoke-config"
|
2548
2579
|
o.input = Shapes::ShapeRef.new(shape: UpdateFunctionEventInvokeConfigRequest)
|
2549
2580
|
o.output = Shapes::ShapeRef.new(shape: FunctionEventInvokeConfig)
|
2550
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2551
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2552
2581
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2553
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2554
2582
|
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
2583
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2584
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2585
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2555
2586
|
end)
|
2556
2587
|
|
2557
2588
|
api.add_operation(:update_function_url_config, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2560,11 +2591,11 @@ module Aws::Lambda
|
|
2560
2591
|
o.http_request_uri = "/2021-10-31/functions/{FunctionName}/url"
|
2561
2592
|
o.input = Shapes::ShapeRef.new(shape: UpdateFunctionUrlConfigRequest)
|
2562
2593
|
o.output = Shapes::ShapeRef.new(shape: UpdateFunctionUrlConfigResponse)
|
2563
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
2564
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2565
2594
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2595
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
2566
2596
|
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2567
2597
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2598
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2568
2599
|
end)
|
2569
2600
|
end
|
2570
2601
|
|