Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -439,10 +439,12 @@
"DeleteFunction",
"GetFunctionConfiguration",
"Invoke",
"ListEventSourceMappings",
"ListFunctions",
"ListLayerVersions",
"ListVersionsByFunction",
"PublishLayerVersion",
"PutFunctionConcurrency",
"UpdateFunctionConfiguration"
]
},
Expand Down
2 changes: 2 additions & 0 deletions src/CodeGenerator/src/Generator/GeneratorHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,12 @@ public static function normalizeName(string $propertyName): string
'STL' => 'Stl',
'TTL' => 'Ttl',
'URI' => 'Uri',
'UUID' => 'Uuid',
'VPC' => 'Vpc',
'YUV' => 'Yuv',

'BS' => 'Bs',
'DB' => 'Db',
'ID' => 'Id',
'NS' => 'Ns',
'SS' => 'Ss',
Expand Down
1 change: 1 addition & 0 deletions src/Service/Lambda/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

### Added

- Added `ListEventSourceMappings` and `PutFunctionConcurrency` operations.
- AWS api-change: Launching Lambda integration with S3 Files as a new file system configuration.

## 2.13.1
Expand Down
19 changes: 19 additions & 0 deletions src/Service/Lambda/src/Enum/EndPointType.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?php

namespace AsyncAws\Lambda\Enum;

final class EndPointType
{
public const KAFKA_BOOTSTRAP_SERVERS = 'KAFKA_BOOTSTRAP_SERVERS';
public const UNKNOWN_TO_SDK = 'UNKNOWN_TO_SDK';

/**
* @psalm-assert-if-true self::* $value
*/
public static function exists(string $value): bool
{
return isset([
self::KAFKA_BOOTSTRAP_SERVERS => true,
][$value]);
}
}
23 changes: 23 additions & 0 deletions src/Service/Lambda/src/Enum/EventSourceMappingMetric.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php

namespace AsyncAws\Lambda\Enum;

final class EventSourceMappingMetric
{
public const ERROR_COUNT = 'ErrorCount';
public const EVENT_COUNT = 'EventCount';
public const KAFKA_METRICS = 'KafkaMetrics';
public const UNKNOWN_TO_SDK = 'UNKNOWN_TO_SDK';

/**
* @psalm-assert-if-true self::* $value
*/
public static function exists(string $value): bool
{
return isset([
self::ERROR_COUNT => true,
self::EVENT_COUNT => true,
self::KAFKA_METRICS => true,
][$value]);
}
}
23 changes: 23 additions & 0 deletions src/Service/Lambda/src/Enum/EventSourceMappingSystemLogLevel.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php

namespace AsyncAws\Lambda\Enum;

final class EventSourceMappingSystemLogLevel
{
public const DEBUG = 'DEBUG';
public const INFO = 'INFO';
public const WARN = 'WARN';
public const UNKNOWN_TO_SDK = 'UNKNOWN_TO_SDK';

/**
* @psalm-assert-if-true self::* $value
*/
public static function exists(string $value): bool
{
return isset([
self::DEBUG => true,
self::INFO => true,
self::WARN => true,
][$value]);
}
}
23 changes: 23 additions & 0 deletions src/Service/Lambda/src/Enum/EventSourcePosition.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php

namespace AsyncAws\Lambda\Enum;

final class EventSourcePosition
{
public const AT_TIMESTAMP = 'AT_TIMESTAMP';
public const LATEST = 'LATEST';
public const TRIM_HORIZON = 'TRIM_HORIZON';
public const UNKNOWN_TO_SDK = 'UNKNOWN_TO_SDK';

/**
* @psalm-assert-if-true self::* $value
*/
public static function exists(string $value): bool
{
return isset([
self::AT_TIMESTAMP => true,
self::LATEST => true,
self::TRIM_HORIZON => true,
][$value]);
}
}
21 changes: 21 additions & 0 deletions src/Service/Lambda/src/Enum/FullDocument.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?php

namespace AsyncAws\Lambda\Enum;

final class FullDocument
{
public const DEFAULT = 'Default';
public const UPDATE_LOOKUP = 'UpdateLookup';
public const UNKNOWN_TO_SDK = 'UNKNOWN_TO_SDK';

/**
* @psalm-assert-if-true self::* $value
*/
public static function exists(string $value): bool
{
return isset([
self::DEFAULT => true,
self::UPDATE_LOOKUP => true,
][$value]);
}
}
19 changes: 19 additions & 0 deletions src/Service/Lambda/src/Enum/FunctionResponseType.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?php

namespace AsyncAws\Lambda\Enum;

final class FunctionResponseType
{
public const REPORT_BATCH_ITEM_FAILURES = 'ReportBatchItemFailures';
public const UNKNOWN_TO_SDK = 'UNKNOWN_TO_SDK';

/**
* @psalm-assert-if-true self::* $value
*/
public static function exists(string $value): bool
{
return isset([
self::REPORT_BATCH_ITEM_FAILURES => true,
][$value]);
}
}
23 changes: 23 additions & 0 deletions src/Service/Lambda/src/Enum/KafkaSchemaRegistryAuthType.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php

namespace AsyncAws\Lambda\Enum;

final class KafkaSchemaRegistryAuthType
{
public const BASIC_AUTH = 'BASIC_AUTH';
public const CLIENT_CERTIFICATE_TLS_AUTH = 'CLIENT_CERTIFICATE_TLS_AUTH';
public const SERVER_ROOT_CA_CERTIFICATE = 'SERVER_ROOT_CA_CERTIFICATE';
public const UNKNOWN_TO_SDK = 'UNKNOWN_TO_SDK';

/**
* @psalm-assert-if-true self::* $value
*/
public static function exists(string $value): bool
{
return isset([
self::BASIC_AUTH => true,
self::CLIENT_CERTIFICATE_TLS_AUTH => true,
self::SERVER_ROOT_CA_CERTIFICATE => true,
][$value]);
}
}
21 changes: 21 additions & 0 deletions src/Service/Lambda/src/Enum/KafkaSchemaValidationAttribute.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?php

namespace AsyncAws\Lambda\Enum;

final class KafkaSchemaValidationAttribute
{
public const KEY = 'KEY';
public const VALUE = 'VALUE';
public const UNKNOWN_TO_SDK = 'UNKNOWN_TO_SDK';

/**
* @psalm-assert-if-true self::* $value
*/
public static function exists(string $value): bool
{
return isset([
self::KEY => true,
self::VALUE => true,
][$value]);
}
}
21 changes: 21 additions & 0 deletions src/Service/Lambda/src/Enum/SchemaRegistryEventRecordFormat.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?php

namespace AsyncAws\Lambda\Enum;

final class SchemaRegistryEventRecordFormat
{
public const JSON = 'JSON';
public const SOURCE = 'SOURCE';
public const UNKNOWN_TO_SDK = 'UNKNOWN_TO_SDK';

/**
* @psalm-assert-if-true self::* $value
*/
public static function exists(string $value): bool
{
return isset([
self::JSON => true,
self::SOURCE => true,
][$value]);
}
}
33 changes: 33 additions & 0 deletions src/Service/Lambda/src/Enum/SourceAccessType.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?php

namespace AsyncAws\Lambda\Enum;

final class SourceAccessType
{
public const BASIC_AUTH = 'BASIC_AUTH';
public const CLIENT_CERTIFICATE_TLS_AUTH = 'CLIENT_CERTIFICATE_TLS_AUTH';
public const SASL_SCRAM_256_AUTH = 'SASL_SCRAM_256_AUTH';
public const SASL_SCRAM_512_AUTH = 'SASL_SCRAM_512_AUTH';
public const SERVER_ROOT_CA_CERTIFICATE = 'SERVER_ROOT_CA_CERTIFICATE';
public const VIRTUAL_HOST = 'VIRTUAL_HOST';
public const VPC_SECURITY_GROUP = 'VPC_SECURITY_GROUP';
public const VPC_SUBNET = 'VPC_SUBNET';
public const UNKNOWN_TO_SDK = 'UNKNOWN_TO_SDK';

/**
* @psalm-assert-if-true self::* $value
*/
public static function exists(string $value): bool
{
return isset([
self::BASIC_AUTH => true,
self::CLIENT_CERTIFICATE_TLS_AUTH => true,
self::SASL_SCRAM_256_AUTH => true,
self::SASL_SCRAM_512_AUTH => true,
self::SERVER_ROOT_CA_CERTIFICATE => true,
self::VIRTUAL_HOST => true,
self::VPC_SECURITY_GROUP => true,
self::VPC_SUBNET => true,
][$value]);
}
}
Loading
Loading