m_tags;
bool m_tagsHasBeenSet = false;
+
+ Aws::String m_state;
+ bool m_stateHasBeenSet = false;
+
+ Aws::String m_stateReason;
+ bool m_stateReasonHasBeenSet = false;
};
} // namespace Model
diff --git a/generated/src/aws-cpp-sdk-chatbot/source/model/ChimeWebhookConfiguration.cpp b/generated/src/aws-cpp-sdk-chatbot/source/model/ChimeWebhookConfiguration.cpp
index e15136bb25a..6606f1363cb 100644
--- a/generated/src/aws-cpp-sdk-chatbot/source/model/ChimeWebhookConfiguration.cpp
+++ b/generated/src/aws-cpp-sdk-chatbot/source/model/ChimeWebhookConfiguration.cpp
@@ -25,7 +25,9 @@ ChimeWebhookConfiguration::ChimeWebhookConfiguration() :
m_snsTopicArnsHasBeenSet(false),
m_configurationNameHasBeenSet(false),
m_loggingLevelHasBeenSet(false),
- m_tagsHasBeenSet(false)
+ m_tagsHasBeenSet(false),
+ m_stateHasBeenSet(false),
+ m_stateReasonHasBeenSet(false)
{
}
@@ -92,6 +94,20 @@ ChimeWebhookConfiguration& ChimeWebhookConfiguration::operator =(JsonView jsonVa
m_tagsHasBeenSet = true;
}
+ if(jsonValue.ValueExists("State"))
+ {
+ m_state = jsonValue.GetString("State");
+
+ m_stateHasBeenSet = true;
+ }
+
+ if(jsonValue.ValueExists("StateReason"))
+ {
+ m_stateReason = jsonValue.GetString("StateReason");
+
+ m_stateReasonHasBeenSet = true;
+ }
+
return *this;
}
@@ -151,6 +167,18 @@ JsonValue ChimeWebhookConfiguration::Jsonize() const
}
+ if(m_stateHasBeenSet)
+ {
+ payload.WithString("State", m_state);
+
+ }
+
+ if(m_stateReasonHasBeenSet)
+ {
+ payload.WithString("StateReason", m_stateReason);
+
+ }
+
return payload;
}
diff --git a/generated/src/aws-cpp-sdk-chatbot/source/model/ConfiguredTeam.cpp b/generated/src/aws-cpp-sdk-chatbot/source/model/ConfiguredTeam.cpp
index 02ff1ef92db..0aeab939061 100644
--- a/generated/src/aws-cpp-sdk-chatbot/source/model/ConfiguredTeam.cpp
+++ b/generated/src/aws-cpp-sdk-chatbot/source/model/ConfiguredTeam.cpp
@@ -21,7 +21,9 @@ namespace Model
ConfiguredTeam::ConfiguredTeam() :
m_tenantIdHasBeenSet(false),
m_teamIdHasBeenSet(false),
- m_teamNameHasBeenSet(false)
+ m_teamNameHasBeenSet(false),
+ m_stateHasBeenSet(false),
+ m_stateReasonHasBeenSet(false)
{
}
@@ -54,6 +56,20 @@ ConfiguredTeam& ConfiguredTeam::operator =(JsonView jsonValue)
m_teamNameHasBeenSet = true;
}
+ if(jsonValue.ValueExists("State"))
+ {
+ m_state = jsonValue.GetString("State");
+
+ m_stateHasBeenSet = true;
+ }
+
+ if(jsonValue.ValueExists("StateReason"))
+ {
+ m_stateReason = jsonValue.GetString("StateReason");
+
+ m_stateReasonHasBeenSet = true;
+ }
+
return *this;
}
@@ -79,6 +95,18 @@ JsonValue ConfiguredTeam::Jsonize() const
}
+ if(m_stateHasBeenSet)
+ {
+ payload.WithString("State", m_state);
+
+ }
+
+ if(m_stateReasonHasBeenSet)
+ {
+ payload.WithString("StateReason", m_stateReason);
+
+ }
+
return payload;
}
diff --git a/generated/src/aws-cpp-sdk-chatbot/source/model/SlackChannelConfiguration.cpp b/generated/src/aws-cpp-sdk-chatbot/source/model/SlackChannelConfiguration.cpp
index 60df8ea7fdd..bcfb4c79eec 100644
--- a/generated/src/aws-cpp-sdk-chatbot/source/model/SlackChannelConfiguration.cpp
+++ b/generated/src/aws-cpp-sdk-chatbot/source/model/SlackChannelConfiguration.cpp
@@ -31,7 +31,9 @@ SlackChannelConfiguration::SlackChannelConfiguration() :
m_guardrailPolicyArnsHasBeenSet(false),
m_userAuthorizationRequired(false),
m_userAuthorizationRequiredHasBeenSet(false),
- m_tagsHasBeenSet(false)
+ m_tagsHasBeenSet(false),
+ m_stateHasBeenSet(false),
+ m_stateReasonHasBeenSet(false)
{
}
@@ -136,6 +138,20 @@ SlackChannelConfiguration& SlackChannelConfiguration::operator =(JsonView jsonVa
m_tagsHasBeenSet = true;
}
+ if(jsonValue.ValueExists("State"))
+ {
+ m_state = jsonValue.GetString("State");
+
+ m_stateHasBeenSet = true;
+ }
+
+ if(jsonValue.ValueExists("StateReason"))
+ {
+ m_stateReason = jsonValue.GetString("StateReason");
+
+ m_stateReasonHasBeenSet = true;
+ }
+
return *this;
}
@@ -230,6 +246,18 @@ JsonValue SlackChannelConfiguration::Jsonize() const
}
+ if(m_stateHasBeenSet)
+ {
+ payload.WithString("State", m_state);
+
+ }
+
+ if(m_stateReasonHasBeenSet)
+ {
+ payload.WithString("StateReason", m_stateReason);
+
+ }
+
return payload;
}
diff --git a/generated/src/aws-cpp-sdk-chatbot/source/model/SlackWorkspace.cpp b/generated/src/aws-cpp-sdk-chatbot/source/model/SlackWorkspace.cpp
index 034fc608f0c..080d5f9ec4a 100644
--- a/generated/src/aws-cpp-sdk-chatbot/source/model/SlackWorkspace.cpp
+++ b/generated/src/aws-cpp-sdk-chatbot/source/model/SlackWorkspace.cpp
@@ -20,7 +20,9 @@ namespace Model
SlackWorkspace::SlackWorkspace() :
m_slackTeamIdHasBeenSet(false),
- m_slackTeamNameHasBeenSet(false)
+ m_slackTeamNameHasBeenSet(false),
+ m_stateHasBeenSet(false),
+ m_stateReasonHasBeenSet(false)
{
}
@@ -46,6 +48,20 @@ SlackWorkspace& SlackWorkspace::operator =(JsonView jsonValue)
m_slackTeamNameHasBeenSet = true;
}
+ if(jsonValue.ValueExists("State"))
+ {
+ m_state = jsonValue.GetString("State");
+
+ m_stateHasBeenSet = true;
+ }
+
+ if(jsonValue.ValueExists("StateReason"))
+ {
+ m_stateReason = jsonValue.GetString("StateReason");
+
+ m_stateReasonHasBeenSet = true;
+ }
+
return *this;
}
@@ -65,6 +81,18 @@ JsonValue SlackWorkspace::Jsonize() const
}
+ if(m_stateHasBeenSet)
+ {
+ payload.WithString("State", m_state);
+
+ }
+
+ if(m_stateReasonHasBeenSet)
+ {
+ payload.WithString("StateReason", m_stateReason);
+
+ }
+
return payload;
}
diff --git a/generated/src/aws-cpp-sdk-chatbot/source/model/TeamsChannelConfiguration.cpp b/generated/src/aws-cpp-sdk-chatbot/source/model/TeamsChannelConfiguration.cpp
index a3a5c899d28..357eba7e2b5 100644
--- a/generated/src/aws-cpp-sdk-chatbot/source/model/TeamsChannelConfiguration.cpp
+++ b/generated/src/aws-cpp-sdk-chatbot/source/model/TeamsChannelConfiguration.cpp
@@ -32,7 +32,9 @@ TeamsChannelConfiguration::TeamsChannelConfiguration() :
m_guardrailPolicyArnsHasBeenSet(false),
m_userAuthorizationRequired(false),
m_userAuthorizationRequiredHasBeenSet(false),
- m_tagsHasBeenSet(false)
+ m_tagsHasBeenSet(false),
+ m_stateHasBeenSet(false),
+ m_stateReasonHasBeenSet(false)
{
}
@@ -144,6 +146,20 @@ TeamsChannelConfiguration& TeamsChannelConfiguration::operator =(JsonView jsonVa
m_tagsHasBeenSet = true;
}
+ if(jsonValue.ValueExists("State"))
+ {
+ m_state = jsonValue.GetString("State");
+
+ m_stateHasBeenSet = true;
+ }
+
+ if(jsonValue.ValueExists("StateReason"))
+ {
+ m_stateReason = jsonValue.GetString("StateReason");
+
+ m_stateReasonHasBeenSet = true;
+ }
+
return *this;
}
@@ -244,6 +260,18 @@ JsonValue TeamsChannelConfiguration::Jsonize() const
}
+ if(m_stateHasBeenSet)
+ {
+ payload.WithString("State", m_state);
+
+ }
+
+ if(m_stateReasonHasBeenSet)
+ {
+ payload.WithString("StateReason", m_stateReason);
+
+ }
+
return payload;
}
diff --git a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/LambdaClient.h b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/LambdaClient.h
index 333fd7b304a..798d3ec612f 100644
--- a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/LambdaClient.h
+++ b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/LambdaClient.h
@@ -168,15 +168,15 @@ namespace Lambda
* policies to version $LATEST. To grant permission to another account,
* specify the account ID as the Principal
. To grant permission to an
* organization defined in Organizations, specify the organization ID as the
- * PrincipalOrgID
. For Amazon Web Servicesservices, the principal is a
- * domain-style identifier that the service defines, such as
+ * PrincipalOrgID
. For Amazon Web Services services, the principal is
+ * a domain-style identifier that the service defines, such as
* s3.amazonaws.com
or sns.amazonaws.com
. For Amazon Web
- * Servicesservices, you can also specify the ARN of the associated resource as the
- * SourceArn
. If you grant permission to a service principal without
- * specifying the source, other accounts could potentially configure resources in
- * their account to invoke your Lambda function.
This operation adds a
- * statement to a resource-based permissions policy for the function. For more
- * information about function policies, see SourceArn. If you grant permission to a service principal
+ * without specifying the source, other accounts could potentially configure
+ * resources in their account to invoke your Lambda function.
This operation
+ * adds a statement to a resource-based permissions policy for the function. For
+ * more information about function policies, see Using
* resource-based policies for Lambda.
See Also:
AWS
@@ -340,7 +340,7 @@ namespace Lambda
* href="https://docs.aws.amazon.com/lambda/latest/dg/intro-permission-model.html#lambda-intro-execution-role">execution
* role. The deployment package is a .zip file archive or container image that
* contains your function code. The execution role grants the function permission
- * to use Amazon Web Servicesservices, such as Amazon CloudWatch Logs for log
+ * to use Amazon Web Services services, such as Amazon CloudWatch Logs for log
* streaming and X-Ray for request tracing. If the deployment package is a
* container
@@ -380,13 +380,13 @@ namespace Lambda
* code package has a valid signature from a trusted publisher. The code-signing
* configuration includes set of signing profiles, which define the trusted
* publishers for this function.
If another Amazon Web Services account or
- * an Amazon Web Servicesservice invokes your function, use AddPermission to
- * grant permission by creating a resource-based Identity and Access Management
+ * an Amazon Web Services service invokes your function, use AddPermission
+ * to grant permission by creating a resource-based Identity and Access Management
* (IAM) policy. You can grant permissions at the function level, on a version, or
* on an alias.
To invoke your function directly, use Invoke. To
- * invoke your function in response to events in other Amazon Web Servicesservices,
- * create an event source mapping (CreateEventSourceMapping), or configure a
- * function trigger in the other service. For more information, see CreateEventSourceMapping), or
+ * configure a function trigger in the other service. For more information, see Invoking
* Lambda functions.
See Also:
AWS
@@ -527,7 +527,7 @@ namespace Lambda
* Qualifier
parameter. Otherwise, all versions and aliases are
* deleted. This doesn't require the user to have explicit permissions for
* DeleteAlias. To delete Lambda event source mappings that invoke a
- * function, use DeleteEventSourceMapping. For Amazon Web Servicesservices
+ * function, use DeleteEventSourceMapping. For Amazon Web Services services
* and resources that invoke your function directly, delete the trigger in the
* service where you originally configured it.
See Also:
AWS
@@ -714,36 +714,6 @@ namespace Lambda
return SubmitAsync(&LambdaClient::DeleteProvisionedConcurrencyConfig, request, handler, context);
}
- /**
- * The option to create and modify full JSON resource-based policies, and
- * to use the PutResourcePolicy, GetResourcePolicy, and DeleteResourcePolicy APIs,
- * won't be available in all Amazon Web Services Regions until September 30,
- * 2024.
Deletes a resource-based
- * policy from a function.
See Also:
AWS
- * API Reference
- */
- virtual Model::DeleteResourcePolicyOutcome DeleteResourcePolicy(const Model::DeleteResourcePolicyRequest& request) const;
-
- /**
- * A Callable wrapper for DeleteResourcePolicy that returns a future to the operation so that it can be executed in parallel to other requests.
- */
- template
- Model::DeleteResourcePolicyOutcomeCallable DeleteResourcePolicyCallable(const DeleteResourcePolicyRequestT& request) const
- {
- return SubmitCallable(&LambdaClient::DeleteResourcePolicy, request);
- }
-
- /**
- * An Async wrapper for DeleteResourcePolicy that queues the request into a thread executor and triggers associated callback when operation has finished.
- */
- template
- void DeleteResourcePolicyAsync(const DeleteResourcePolicyRequestT& request, const DeleteResourcePolicyResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
- {
- return SubmitAsync(&LambdaClient::DeleteResourcePolicy, request, handler, context);
- }
-
/**
* Retrieves details about your account's limits and
@@ -1177,64 +1147,6 @@ namespace Lambda
return SubmitAsync(&LambdaClient::GetProvisionedConcurrencyConfig, request, handler, context);
}
- /**
- *
The option to configure public-access settings, and to use the
- * PutPublicAccessBlock and GetPublicAccessBlock APIs, won't be available in all
- * Amazon Web Services Regions until September 30, 2024.
Retrieve
- * the public-access settings for a function.
See Also:
AWS
- * API Reference
- */
- virtual Model::GetPublicAccessBlockConfigOutcome GetPublicAccessBlockConfig(const Model::GetPublicAccessBlockConfigRequest& request) const;
-
- /**
- * A Callable wrapper for GetPublicAccessBlockConfig that returns a future to the operation so that it can be executed in parallel to other requests.
- */
- template
- Model::GetPublicAccessBlockConfigOutcomeCallable GetPublicAccessBlockConfigCallable(const GetPublicAccessBlockConfigRequestT& request) const
- {
- return SubmitCallable(&LambdaClient::GetPublicAccessBlockConfig, request);
- }
-
- /**
- * An Async wrapper for GetPublicAccessBlockConfig that queues the request into a thread executor and triggers associated callback when operation has finished.
- */
- template
- void GetPublicAccessBlockConfigAsync(const GetPublicAccessBlockConfigRequestT& request, const GetPublicAccessBlockConfigResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
- {
- return SubmitAsync(&LambdaClient::GetPublicAccessBlockConfig, request, handler, context);
- }
-
- /**
- * The option to create and modify full JSON resource-based policies, and
- * to use the PutResourcePolicy, GetResourcePolicy, and DeleteResourcePolicy APIs,
- * won't be available in all Amazon Web Services Regions until September 30,
- * 2024.
Retrieves the resource-based
- * policy attached to a function.
See Also:
AWS
- * API Reference
- */
- virtual Model::GetResourcePolicyOutcome GetResourcePolicy(const Model::GetResourcePolicyRequest& request) const;
-
- /**
- * A Callable wrapper for GetResourcePolicy that returns a future to the operation so that it can be executed in parallel to other requests.
- */
- template
- Model::GetResourcePolicyOutcomeCallable GetResourcePolicyCallable(const GetResourcePolicyRequestT& request) const
- {
- return SubmitCallable(&LambdaClient::GetResourcePolicy, request);
- }
-
- /**
- * An Async wrapper for GetResourcePolicy that queues the request into a thread executor and triggers associated callback when operation has finished.
- */
- template
- void GetResourcePolicyAsync(const GetResourcePolicyRequestT& request, const GetResourcePolicyResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
- {
- return SubmitAsync(&LambdaClient::GetResourcePolicy, request, handler, context);
- }
-
/**
* Retrieves the runtime management configuration for a function's version. If
* the runtime update mode is Manual, this includes the ARN of the runtime
@@ -1658,7 +1570,7 @@ namespace Lambda
/**
*
Returns a function, event source mapping, or code signing configuration's tags. You
- * can also view funciton tags with GetFunction.
See Also:
+ * can also view function tags with GetFunction.See Also:
* AWS
* API Reference
*/
@@ -1941,81 +1853,6 @@ namespace Lambda
return SubmitAsync(&LambdaClient::PutProvisionedConcurrencyConfig, request, handler, context);
}
- /**
- * The option to configure public-access settings, and to use the
- * PutPublicAccessBlock and GetPublicAccessBlock APIs, won't be available in all
- * Amazon Web Services Regions until September 30, 2024.
Configure
- * your function's public-access settings.
To control public access to a
- * Lambda function, you can choose whether to allow the creation of resource-based
- * policies that allow public access to that function. You can also block
- * public access to a function, even if it has an existing resource-based policy
- * that allows it.
See Also:
AWS
- * API Reference
- */
- virtual Model::PutPublicAccessBlockConfigOutcome PutPublicAccessBlockConfig(const Model::PutPublicAccessBlockConfigRequest& request) const;
-
- /**
- * A Callable wrapper for PutPublicAccessBlockConfig that returns a future to the operation so that it can be executed in parallel to other requests.
- */
- template
- Model::PutPublicAccessBlockConfigOutcomeCallable PutPublicAccessBlockConfigCallable(const PutPublicAccessBlockConfigRequestT& request) const
- {
- return SubmitCallable(&LambdaClient::PutPublicAccessBlockConfig, request);
- }
-
- /**
- * An Async wrapper for PutPublicAccessBlockConfig that queues the request into a thread executor and triggers associated callback when operation has finished.
- */
- template
- void PutPublicAccessBlockConfigAsync(const PutPublicAccessBlockConfigRequestT& request, const PutPublicAccessBlockConfigResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
- {
- return SubmitAsync(&LambdaClient::PutPublicAccessBlockConfig, request, handler, context);
- }
-
- /**
- * The option to create and modify full JSON resource-based policies, and
- * to use the PutResourcePolicy, GetResourcePolicy, and DeleteResourcePolicy APIs,
- * won't be available in all Amazon Web Services Regions until September 30,
- * 2024.
Adds a resource-based
- * policy to a function. You can use resource-based policies to grant access to
- * other Amazon
- * Web Services accounts, organizations,
- * or services.
- * Resource-based policies apply to a single function, version, or alias.
- * Adding a resource-based policy using this API action replaces any
- * existing policy you've previously created. This means that if you've previously
- * added resource-based permissions to a function using the AddPermission
- * action, those permissions will be overwritten by your new policy.
- * See Also:
AWS
- * API Reference
- */
- virtual Model::PutResourcePolicyOutcome PutResourcePolicy(const Model::PutResourcePolicyRequest& request) const;
-
- /**
- * A Callable wrapper for PutResourcePolicy that returns a future to the operation so that it can be executed in parallel to other requests.
- */
- template
- Model::PutResourcePolicyOutcomeCallable PutResourcePolicyCallable(const PutResourcePolicyRequestT& request) const
- {
- return SubmitCallable(&LambdaClient::PutResourcePolicy, request);
- }
-
- /**
- * An Async wrapper for PutResourcePolicy that queues the request into a thread executor and triggers associated callback when operation has finished.
- */
- template
- void PutResourcePolicyAsync(const PutResourcePolicyRequestT& request, const PutResourcePolicyResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
- {
- return SubmitAsync(&LambdaClient::PutResourcePolicy, request, handler, context);
- }
-
/**
* Sets the runtime management configuration for a function's version. For more
* information, see Revokes function-use permission from an Amazon Web Servicesservice or another
- * Amazon Web Services account. You can get the ID of the statement from the output
- * of GetPolicy.
See Also:
Revokes function-use permission from an Amazon Web Services service or
+ * another Amazon Web Services account. You can get the ID of the statement from
+ * the output of GetPolicy.See Also:
AWS
* API Reference
*/
@@ -2339,8 +2176,8 @@ namespace Lambda
* function and are locked when you publish a version. You can't modify the
* configuration of a published version, only the unpublished version. To
* configure function concurrency, use PutFunctionConcurrency. To grant
- * invoke permissions to an Amazon Web Services account or Amazon Web
- * Servicesservice, use AddPermission.
See Also:
AddPermission.See Also:
AWS
* API Reference
*/
diff --git a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/LambdaErrors.h b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/LambdaErrors.h
index 61e40f17468..2558fd4933d 100644
--- a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/LambdaErrors.h
+++ b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/LambdaErrors.h
@@ -71,7 +71,6 @@ enum class LambdaErrors
POLICY_LENGTH_EXCEEDED,
PRECONDITION_FAILED,
PROVISIONED_CONCURRENCY_CONFIG_NOT_FOUND,
- PUBLIC_POLICY,
RECURSIVE_INVOCATION,
REQUEST_TOO_LARGE,
RESOURCE_CONFLICT,
diff --git a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/LambdaServiceClientModel.h b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/LambdaServiceClientModel.h
index 69890da18bc..7599216384e 100644
--- a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/LambdaServiceClientModel.h
+++ b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/LambdaServiceClientModel.h
@@ -43,8 +43,6 @@
#include
#include
#include
-#include
-#include
#include
#include
#include
@@ -66,8 +64,6 @@
#include
#include
#include
-#include
-#include
#include
#include
#include
@@ -139,7 +135,6 @@ namespace Aws
class DeleteFunctionUrlConfigRequest;
class DeleteLayerVersionRequest;
class DeleteProvisionedConcurrencyConfigRequest;
- class DeleteResourcePolicyRequest;
class GetAccountSettingsRequest;
class GetAliasRequest;
class GetCodeSigningConfigRequest;
@@ -156,8 +151,6 @@ namespace Aws
class GetLayerVersionPolicyRequest;
class GetPolicyRequest;
class GetProvisionedConcurrencyConfigRequest;
- class GetPublicAccessBlockConfigRequest;
- class GetResourcePolicyRequest;
class GetRuntimeManagementConfigRequest;
class InvokeRequest;
class InvokeWithResponseStreamRequest;
@@ -180,8 +173,6 @@ namespace Aws
class PutFunctionEventInvokeConfigRequest;
class PutFunctionRecursionConfigRequest;
class PutProvisionedConcurrencyConfigRequest;
- class PutPublicAccessBlockConfigRequest;
- class PutResourcePolicyRequest;
class PutRuntimeManagementConfigRequest;
class RemoveLayerVersionPermissionRequest;
class RemovePermissionRequest;
@@ -214,7 +205,6 @@ namespace Aws
typedef Aws::Utils::Outcome DeleteFunctionUrlConfigOutcome;
typedef Aws::Utils::Outcome DeleteLayerVersionOutcome;
typedef Aws::Utils::Outcome DeleteProvisionedConcurrencyConfigOutcome;
- typedef Aws::Utils::Outcome DeleteResourcePolicyOutcome;
typedef Aws::Utils::Outcome GetAccountSettingsOutcome;
typedef Aws::Utils::Outcome GetAliasOutcome;
typedef Aws::Utils::Outcome GetCodeSigningConfigOutcome;
@@ -231,8 +221,6 @@ namespace Aws
typedef Aws::Utils::Outcome GetLayerVersionPolicyOutcome;
typedef Aws::Utils::Outcome GetPolicyOutcome;
typedef Aws::Utils::Outcome GetProvisionedConcurrencyConfigOutcome;
- typedef Aws::Utils::Outcome GetPublicAccessBlockConfigOutcome;
- typedef Aws::Utils::Outcome GetResourcePolicyOutcome;
typedef Aws::Utils::Outcome GetRuntimeManagementConfigOutcome;
typedef Aws::Utils::Outcome InvokeOutcome;
typedef Aws::Utils::Outcome InvokeWithResponseStreamOutcome;
@@ -255,8 +243,6 @@ namespace Aws
typedef Aws::Utils::Outcome PutFunctionEventInvokeConfigOutcome;
typedef Aws::Utils::Outcome PutFunctionRecursionConfigOutcome;
typedef Aws::Utils::Outcome PutProvisionedConcurrencyConfigOutcome;
- typedef Aws::Utils::Outcome PutPublicAccessBlockConfigOutcome;
- typedef Aws::Utils::Outcome PutResourcePolicyOutcome;
typedef Aws::Utils::Outcome PutRuntimeManagementConfigOutcome;
typedef Aws::Utils::Outcome RemoveLayerVersionPermissionOutcome;
typedef Aws::Utils::Outcome RemovePermissionOutcome;
@@ -289,7 +275,6 @@ namespace Aws
typedef std::future DeleteFunctionUrlConfigOutcomeCallable;
typedef std::future DeleteLayerVersionOutcomeCallable;
typedef std::future DeleteProvisionedConcurrencyConfigOutcomeCallable;
- typedef std::future DeleteResourcePolicyOutcomeCallable;
typedef std::future GetAccountSettingsOutcomeCallable;
typedef std::future GetAliasOutcomeCallable;
typedef std::future GetCodeSigningConfigOutcomeCallable;
@@ -306,8 +291,6 @@ namespace Aws
typedef std::future GetLayerVersionPolicyOutcomeCallable;
typedef std::future GetPolicyOutcomeCallable;
typedef std::future GetProvisionedConcurrencyConfigOutcomeCallable;
- typedef std::future GetPublicAccessBlockConfigOutcomeCallable;
- typedef std::future GetResourcePolicyOutcomeCallable;
typedef std::future GetRuntimeManagementConfigOutcomeCallable;
typedef std::future InvokeOutcomeCallable;
typedef std::future InvokeWithResponseStreamOutcomeCallable;
@@ -330,8 +313,6 @@ namespace Aws
typedef std::future PutFunctionEventInvokeConfigOutcomeCallable;
typedef std::future PutFunctionRecursionConfigOutcomeCallable;
typedef std::future PutProvisionedConcurrencyConfigOutcomeCallable;
- typedef std::future PutPublicAccessBlockConfigOutcomeCallable;
- typedef std::future PutResourcePolicyOutcomeCallable;
typedef std::future PutRuntimeManagementConfigOutcomeCallable;
typedef std::future RemoveLayerVersionPermissionOutcomeCallable;
typedef std::future RemovePermissionOutcomeCallable;
@@ -367,7 +348,6 @@ namespace Aws
typedef std::function&) > DeleteFunctionUrlConfigResponseReceivedHandler;
typedef std::function&) > DeleteLayerVersionResponseReceivedHandler;
typedef std::function&) > DeleteProvisionedConcurrencyConfigResponseReceivedHandler;
- typedef std::function&) > DeleteResourcePolicyResponseReceivedHandler;
typedef std::function&) > GetAccountSettingsResponseReceivedHandler;
typedef std::function&) > GetAliasResponseReceivedHandler;
typedef std::function&) > GetCodeSigningConfigResponseReceivedHandler;
@@ -384,8 +364,6 @@ namespace Aws
typedef std::function&) > GetLayerVersionPolicyResponseReceivedHandler;
typedef std::function&) > GetPolicyResponseReceivedHandler;
typedef std::function&) > GetProvisionedConcurrencyConfigResponseReceivedHandler;
- typedef std::function&) > GetPublicAccessBlockConfigResponseReceivedHandler;
- typedef std::function&) > GetResourcePolicyResponseReceivedHandler;
typedef std::function&) > GetRuntimeManagementConfigResponseReceivedHandler;
typedef std::function&) > InvokeResponseReceivedHandler;
typedef std::function&) > InvokeWithResponseStreamResponseReceivedHandler;
@@ -408,8 +386,6 @@ namespace Aws
typedef std::function&) > PutFunctionEventInvokeConfigResponseReceivedHandler;
typedef std::function&) > PutFunctionRecursionConfigResponseReceivedHandler;
typedef std::function&) > PutProvisionedConcurrencyConfigResponseReceivedHandler;
- typedef std::function&) > PutPublicAccessBlockConfigResponseReceivedHandler;
- typedef std::function&) > PutResourcePolicyResponseReceivedHandler;
typedef std::function&) > PutRuntimeManagementConfigResponseReceivedHandler;
typedef std::function&) > RemoveLayerVersionPermissionResponseReceivedHandler;
typedef std::function&) > RemovePermissionResponseReceivedHandler;
diff --git a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/AddPermissionRequest.h b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/AddPermissionRequest.h
index 1fa21053dcf..2ca0767ed12 100644
--- a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/AddPermissionRequest.h
+++ b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/AddPermissionRequest.h
@@ -94,8 +94,8 @@ namespace Model
///@{
/**
- * The Amazon Web Servicesservice, Amazon Web Services account, IAM user, or IAM
- * role that invokes the function. If you specify a service, use
+ *
The Amazon Web Services service, Amazon Web Services account, IAM user, or
+ * IAM role that invokes the function. If you specify a service, use
* SourceArn
or SourceAccount
to limit who can invoke the
* function through that service.
*/
@@ -111,7 +111,7 @@ namespace Model
///@{
/**
- * For Amazon Web Servicesservices, the ARN of the Amazon Web Services resource
+ *
For Amazon Web Services services, the ARN of the Amazon Web Services resource
* that invokes the function. For example, an Amazon S3 bucket or Amazon SNS
* topic.
Note that Lambda configures the comparison using the
* StringLike
operator.
@@ -128,7 +128,7 @@ namespace Model
///@{
/**
- * For Amazon Web Servicesservice, the ID of the Amazon Web Services account
+ *
For Amazon Web Services service, the ID of the Amazon Web Services account
* that owns the resource. Use this together with SourceArn
to ensure
* that the specified account owns the resource. It is possible for an Amazon S3
* bucket to be deleted by its owner and recreated by another account.
diff --git a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/DeleteResourcePolicyRequest.h b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/DeleteResourcePolicyRequest.h
deleted file mode 100644
index 6d81e8d781b..00000000000
--- a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/DeleteResourcePolicyRequest.h
+++ /dev/null
@@ -1,83 +0,0 @@
-/**
- * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
- * SPDX-License-Identifier: Apache-2.0.
- */
-
-#pragma once
-#include
-#include
-#include
-#include
-
-namespace Aws
-{
-namespace Http
-{
- class URI;
-} //namespace Http
-namespace Lambda
-{
-namespace Model
-{
-
- /**
- */
- class DeleteResourcePolicyRequest : public LambdaRequest
- {
- public:
- AWS_LAMBDA_API DeleteResourcePolicyRequest();
-
- // Service request name is the Operation name which will send this request out,
- // each operation should has unique request name, so that we can get operation's name from this request.
- // Note: this is not true for response, multiple operations may have the same response name,
- // so we can not get operation's name from response.
- inline virtual const char* GetServiceRequestName() const override { return "DeleteResourcePolicy"; }
-
- AWS_LAMBDA_API Aws::String SerializePayload() const override;
-
- AWS_LAMBDA_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
-
-
- ///@{
- /**
- * The Amazon Resource Name (ARN) of the function you want to delete the policy
- * from. You can use either a qualified or an unqualified ARN, but the value you
- * specify must be a complete ARN and wildcard characters are not accepted.
- */
- inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
- inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
- inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
- inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
- inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
- inline DeleteResourcePolicyRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
- inline DeleteResourcePolicyRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
- inline DeleteResourcePolicyRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
- ///@}
-
- ///@{
- /**
- * Delete the existing policy only if its revision ID matches the string you
- * specify. To find the revision ID of the policy currently attached to your
- * function, use the GetResourcePolicy action.
- */
- inline const Aws::String& GetRevisionId() const{ return m_revisionId; }
- inline bool RevisionIdHasBeenSet() const { return m_revisionIdHasBeenSet; }
- inline void SetRevisionId(const Aws::String& value) { m_revisionIdHasBeenSet = true; m_revisionId = value; }
- inline void SetRevisionId(Aws::String&& value) { m_revisionIdHasBeenSet = true; m_revisionId = std::move(value); }
- inline void SetRevisionId(const char* value) { m_revisionIdHasBeenSet = true; m_revisionId.assign(value); }
- inline DeleteResourcePolicyRequest& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;}
- inline DeleteResourcePolicyRequest& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;}
- inline DeleteResourcePolicyRequest& WithRevisionId(const char* value) { SetRevisionId(value); return *this;}
- ///@}
- private:
-
- Aws::String m_resourceArn;
- bool m_resourceArnHasBeenSet = false;
-
- Aws::String m_revisionId;
- bool m_revisionIdHasBeenSet = false;
- };
-
-} // namespace Model
-} // namespace Lambda
-} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/GetPublicAccessBlockConfigRequest.h b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/GetPublicAccessBlockConfigRequest.h
deleted file mode 100644
index 684229dd43f..00000000000
--- a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/GetPublicAccessBlockConfigRequest.h
+++ /dev/null
@@ -1,57 +0,0 @@
-/**
- * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
- * SPDX-License-Identifier: Apache-2.0.
- */
-
-#pragma once
-#include
-#include
-#include
-#include
-
-namespace Aws
-{
-namespace Lambda
-{
-namespace Model
-{
-
- /**
- */
- class GetPublicAccessBlockConfigRequest : public LambdaRequest
- {
- public:
- AWS_LAMBDA_API GetPublicAccessBlockConfigRequest();
-
- // Service request name is the Operation name which will send this request out,
- // each operation should has unique request name, so that we can get operation's name from this request.
- // Note: this is not true for response, multiple operations may have the same response name,
- // so we can not get operation's name from response.
- inline virtual const char* GetServiceRequestName() const override { return "GetPublicAccessBlockConfig"; }
-
- AWS_LAMBDA_API Aws::String SerializePayload() const override;
-
-
- ///@{
- /**
- * The Amazon Resource Name (ARN) of the function you want to retrieve
- * public-access settings for.
- */
- inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
- inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
- inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
- inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
- inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
- inline GetPublicAccessBlockConfigRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
- inline GetPublicAccessBlockConfigRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
- inline GetPublicAccessBlockConfigRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
- ///@}
- private:
-
- Aws::String m_resourceArn;
- bool m_resourceArnHasBeenSet = false;
- };
-
-} // namespace Model
-} // namespace Lambda
-} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/GetPublicAccessBlockConfigResult.h b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/GetPublicAccessBlockConfigResult.h
deleted file mode 100644
index c88f4c91f51..00000000000
--- a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/GetPublicAccessBlockConfigResult.h
+++ /dev/null
@@ -1,66 +0,0 @@
-/**
- * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
- * SPDX-License-Identifier: Apache-2.0.
- */
-
-#pragma once
-#include
-#include
-#include
-#include
-
-namespace Aws
-{
-template
-class AmazonWebServiceResult;
-
-namespace Utils
-{
-namespace Json
-{
- class JsonValue;
-} // namespace Json
-} // namespace Utils
-namespace Lambda
-{
-namespace Model
-{
- class GetPublicAccessBlockConfigResult
- {
- public:
- AWS_LAMBDA_API GetPublicAccessBlockConfigResult();
- AWS_LAMBDA_API GetPublicAccessBlockConfigResult(const Aws::AmazonWebServiceResult& result);
- AWS_LAMBDA_API GetPublicAccessBlockConfigResult& operator=(const Aws::AmazonWebServiceResult& result);
-
-
- ///@{
- /**
- * The public-access settings configured for the function you specified
- */
- inline const PublicAccessBlockConfig& GetPublicAccessBlockConfig() const{ return m_publicAccessBlockConfig; }
- inline void SetPublicAccessBlockConfig(const PublicAccessBlockConfig& value) { m_publicAccessBlockConfig = value; }
- inline void SetPublicAccessBlockConfig(PublicAccessBlockConfig&& value) { m_publicAccessBlockConfig = std::move(value); }
- inline GetPublicAccessBlockConfigResult& WithPublicAccessBlockConfig(const PublicAccessBlockConfig& value) { SetPublicAccessBlockConfig(value); return *this;}
- inline GetPublicAccessBlockConfigResult& WithPublicAccessBlockConfig(PublicAccessBlockConfig&& value) { SetPublicAccessBlockConfig(std::move(value)); return *this;}
- ///@}
-
- ///@{
-
- inline const Aws::String& GetRequestId() const{ return m_requestId; }
- inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
- inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
- inline void SetRequestId(const char* value) { m_requestId.assign(value); }
- inline GetPublicAccessBlockConfigResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
- inline GetPublicAccessBlockConfigResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
- inline GetPublicAccessBlockConfigResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
- ///@}
- private:
-
- PublicAccessBlockConfig m_publicAccessBlockConfig;
-
- Aws::String m_requestId;
- };
-
-} // namespace Model
-} // namespace Lambda
-} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/GetResourcePolicyRequest.h b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/GetResourcePolicyRequest.h
deleted file mode 100644
index c597b6e7c72..00000000000
--- a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/GetResourcePolicyRequest.h
+++ /dev/null
@@ -1,58 +0,0 @@
-/**
- * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
- * SPDX-License-Identifier: Apache-2.0.
- */
-
-#pragma once
-#include
-#include
-#include
-#include
-
-namespace Aws
-{
-namespace Lambda
-{
-namespace Model
-{
-
- /**
- */
- class GetResourcePolicyRequest : public LambdaRequest
- {
- public:
- AWS_LAMBDA_API GetResourcePolicyRequest();
-
- // Service request name is the Operation name which will send this request out,
- // each operation should has unique request name, so that we can get operation's name from this request.
- // Note: this is not true for response, multiple operations may have the same response name,
- // so we can not get operation's name from response.
- inline virtual const char* GetServiceRequestName() const override { return "GetResourcePolicy"; }
-
- AWS_LAMBDA_API Aws::String SerializePayload() const override;
-
-
- ///@{
- /**
- * The Amazon Resource Name (ARN) of the function you want to retrieve the
- * policy for. You can use either a qualified or an unqualified ARN, but the value
- * you specify must be a complete ARN and wildcard characters are not accepted.
- */
- inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
- inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
- inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
- inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
- inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
- inline GetResourcePolicyRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
- inline GetResourcePolicyRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
- inline GetResourcePolicyRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
- ///@}
- private:
-
- Aws::String m_resourceArn;
- bool m_resourceArnHasBeenSet = false;
- };
-
-} // namespace Model
-} // namespace Lambda
-} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/GetResourcePolicyResult.h b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/GetResourcePolicyResult.h
deleted file mode 100644
index fd234363a4e..00000000000
--- a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/GetResourcePolicyResult.h
+++ /dev/null
@@ -1,82 +0,0 @@
-/**
- * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
- * SPDX-License-Identifier: Apache-2.0.
- */
-
-#pragma once
-#include
-#include
-#include
-
-namespace Aws
-{
-template
-class AmazonWebServiceResult;
-
-namespace Utils
-{
-namespace Json
-{
- class JsonValue;
-} // namespace Json
-} // namespace Utils
-namespace Lambda
-{
-namespace Model
-{
- class GetResourcePolicyResult
- {
- public:
- AWS_LAMBDA_API GetResourcePolicyResult();
- AWS_LAMBDA_API GetResourcePolicyResult(const Aws::AmazonWebServiceResult& result);
- AWS_LAMBDA_API GetResourcePolicyResult& operator=(const Aws::AmazonWebServiceResult& result);
-
-
- ///@{
- /**
- * The resource-based policy attached to the function you specified.
- */
- inline const Aws::String& GetPolicy() const{ return m_policy; }
- inline void SetPolicy(const Aws::String& value) { m_policy = value; }
- inline void SetPolicy(Aws::String&& value) { m_policy = std::move(value); }
- inline void SetPolicy(const char* value) { m_policy.assign(value); }
- inline GetResourcePolicyResult& WithPolicy(const Aws::String& value) { SetPolicy(value); return *this;}
- inline GetResourcePolicyResult& WithPolicy(Aws::String&& value) { SetPolicy(std::move(value)); return *this;}
- inline GetResourcePolicyResult& WithPolicy(const char* value) { SetPolicy(value); return *this;}
- ///@}
-
- ///@{
- /**
- * The revision ID of the policy.
- */
- inline const Aws::String& GetRevisionId() const{ return m_revisionId; }
- inline void SetRevisionId(const Aws::String& value) { m_revisionId = value; }
- inline void SetRevisionId(Aws::String&& value) { m_revisionId = std::move(value); }
- inline void SetRevisionId(const char* value) { m_revisionId.assign(value); }
- inline GetResourcePolicyResult& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;}
- inline GetResourcePolicyResult& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;}
- inline GetResourcePolicyResult& WithRevisionId(const char* value) { SetRevisionId(value); return *this;}
- ///@}
-
- ///@{
-
- inline const Aws::String& GetRequestId() const{ return m_requestId; }
- inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
- inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
- inline void SetRequestId(const char* value) { m_requestId.assign(value); }
- inline GetResourcePolicyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
- inline GetResourcePolicyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
- inline GetResourcePolicyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
- ///@}
- private:
-
- Aws::String m_policy;
-
- Aws::String m_revisionId;
-
- Aws::String m_requestId;
- };
-
-} // namespace Model
-} // namespace Lambda
-} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/PublicAccessBlockConfig.h b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/PublicAccessBlockConfig.h
deleted file mode 100644
index da0857f3961..00000000000
--- a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/PublicAccessBlockConfig.h
+++ /dev/null
@@ -1,76 +0,0 @@
-/**
- * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
- * SPDX-License-Identifier: Apache-2.0.
- */
-
-#pragma once
-#include
-
-namespace Aws
-{
-namespace Utils
-{
-namespace Json
-{
- class JsonValue;
- class JsonView;
-} // namespace Json
-} // namespace Utils
-namespace Lambda
-{
-namespace Model
-{
-
- /**
- * An object that defines the public-access settings for a
- * function.
See Also:
AWS
- * API Reference
- */
- class PublicAccessBlockConfig
- {
- public:
- AWS_LAMBDA_API PublicAccessBlockConfig();
- AWS_LAMBDA_API PublicAccessBlockConfig(Aws::Utils::Json::JsonView jsonValue);
- AWS_LAMBDA_API PublicAccessBlockConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
- AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
-
-
- ///@{
- /**
- * To block the creation of resource-based policies that would grant public
- * access to your function, set BlockPublicPolicy
to
- * true
. To allow the creation of resource-based policies that would
- * grant public access to your function, set BlockPublicPolicy
to
- * false
.
- */
- inline bool GetBlockPublicPolicy() const{ return m_blockPublicPolicy; }
- inline bool BlockPublicPolicyHasBeenSet() const { return m_blockPublicPolicyHasBeenSet; }
- inline void SetBlockPublicPolicy(bool value) { m_blockPublicPolicyHasBeenSet = true; m_blockPublicPolicy = value; }
- inline PublicAccessBlockConfig& WithBlockPublicPolicy(bool value) { SetBlockPublicPolicy(value); return *this;}
- ///@}
-
- ///@{
- /**
- * To block public access to your function, even if its resource-based policy
- * allows it, set RestrictPublicResource
to true
. To
- * allow public access to a function with a resource-based policy that permits it,
- * set RestrictPublicResource
to false
.
- */
- inline bool GetRestrictPublicResource() const{ return m_restrictPublicResource; }
- inline bool RestrictPublicResourceHasBeenSet() const { return m_restrictPublicResourceHasBeenSet; }
- inline void SetRestrictPublicResource(bool value) { m_restrictPublicResourceHasBeenSet = true; m_restrictPublicResource = value; }
- inline PublicAccessBlockConfig& WithRestrictPublicResource(bool value) { SetRestrictPublicResource(value); return *this;}
- ///@}
- private:
-
- bool m_blockPublicPolicy;
- bool m_blockPublicPolicyHasBeenSet = false;
-
- bool m_restrictPublicResource;
- bool m_restrictPublicResourceHasBeenSet = false;
- };
-
-} // namespace Model
-} // namespace Lambda
-} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/PublicPolicyException.h b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/PublicPolicyException.h
deleted file mode 100644
index b22e82b4cb9..00000000000
--- a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/PublicPolicyException.h
+++ /dev/null
@@ -1,79 +0,0 @@
-/**
- * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
- * SPDX-License-Identifier: Apache-2.0.
- */
-
-#pragma once
-#include
-#include
-#include
-
-namespace Aws
-{
-namespace Utils
-{
-namespace Json
-{
- class JsonValue;
- class JsonView;
-} // namespace Json
-} // namespace Utils
-namespace Lambda
-{
-namespace Model
-{
-
- /**
- * Lambda prevented your policy from being created because it would grant public
- * access to your function. If you intended to create a public policy, use the
- * PutPublicAccessBlockConfig API action to configure your function's
- * public-access settings to allow public policies.
See Also:
AWS
- * API Reference
- */
- class PublicPolicyException
- {
- public:
- AWS_LAMBDA_API PublicPolicyException();
- AWS_LAMBDA_API PublicPolicyException(Aws::Utils::Json::JsonView jsonValue);
- AWS_LAMBDA_API PublicPolicyException& operator=(Aws::Utils::Json::JsonView jsonValue);
- AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
-
-
- ///@{
- /**
- * The exception type.
- */
- inline const Aws::String& GetType() const{ return m_type; }
- inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
- inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
- inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
- inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
- inline PublicPolicyException& WithType(const Aws::String& value) { SetType(value); return *this;}
- inline PublicPolicyException& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
- inline PublicPolicyException& WithType(const char* value) { SetType(value); return *this;}
- ///@}
-
- ///@{
-
- inline const Aws::String& GetMessage() const{ return m_message; }
- inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
- inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
- inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
- inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
- inline PublicPolicyException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
- inline PublicPolicyException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
- inline PublicPolicyException& WithMessage(const char* value) { SetMessage(value); return *this;}
- ///@}
- private:
-
- Aws::String m_type;
- bool m_typeHasBeenSet = false;
-
- Aws::String m_message;
- bool m_messageHasBeenSet = false;
- };
-
-} // namespace Model
-} // namespace Lambda
-} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/PutPublicAccessBlockConfigRequest.h b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/PutPublicAccessBlockConfigRequest.h
deleted file mode 100644
index 8662f8ed661..00000000000
--- a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/PutPublicAccessBlockConfigRequest.h
+++ /dev/null
@@ -1,85 +0,0 @@
-/**
- * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
- * SPDX-License-Identifier: Apache-2.0.
- */
-
-#pragma once
-#include
-#include
-#include
-#include
-#include
-
-namespace Aws
-{
-namespace Lambda
-{
-namespace Model
-{
-
- /**
- */
- class PutPublicAccessBlockConfigRequest : public LambdaRequest
- {
- public:
- AWS_LAMBDA_API PutPublicAccessBlockConfigRequest();
-
- // Service request name is the Operation name which will send this request out,
- // each operation should has unique request name, so that we can get operation's name from this request.
- // Note: this is not true for response, multiple operations may have the same response name,
- // so we can not get operation's name from response.
- inline virtual const char* GetServiceRequestName() const override { return "PutPublicAccessBlockConfig"; }
-
- AWS_LAMBDA_API Aws::String SerializePayload() const override;
-
-
- ///@{
- /**
- * The Amazon Resource Name (ARN) of the function you want to configure
- * public-access settings for. Public-access settings are applied at the function
- * level, so you can't apply different settings to function versions or
- * aliases.
- */
- inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
- inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
- inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
- inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
- inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
- inline PutPublicAccessBlockConfigRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
- inline PutPublicAccessBlockConfigRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
- inline PutPublicAccessBlockConfigRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
- ///@}
-
- ///@{
- /**
- * An object defining the public-access settings you want to apply.
To
- * block the creation of resource-based policies that would grant public access to
- * your function, set BlockPublicPolicy
to true
. To allow
- * the creation of resource-based policies that would grant public access to your
- * function, set BlockPublicPolicy
to false
.
To
- * block public access to your function, even if its resource-based policy allows
- * it, set RestrictPublicResource
to true
. To allow
- * public access to a function with a resource-based policy that permits it, set
- * RestrictPublicResource
to false
.
The default
- * setting for both BlockPublicPolicy
and
- * RestrictPublicResource
is true
.
- */
- inline const PublicAccessBlockConfig& GetPublicAccessBlockConfig() const{ return m_publicAccessBlockConfig; }
- inline bool PublicAccessBlockConfigHasBeenSet() const { return m_publicAccessBlockConfigHasBeenSet; }
- inline void SetPublicAccessBlockConfig(const PublicAccessBlockConfig& value) { m_publicAccessBlockConfigHasBeenSet = true; m_publicAccessBlockConfig = value; }
- inline void SetPublicAccessBlockConfig(PublicAccessBlockConfig&& value) { m_publicAccessBlockConfigHasBeenSet = true; m_publicAccessBlockConfig = std::move(value); }
- inline PutPublicAccessBlockConfigRequest& WithPublicAccessBlockConfig(const PublicAccessBlockConfig& value) { SetPublicAccessBlockConfig(value); return *this;}
- inline PutPublicAccessBlockConfigRequest& WithPublicAccessBlockConfig(PublicAccessBlockConfig&& value) { SetPublicAccessBlockConfig(std::move(value)); return *this;}
- ///@}
- private:
-
- Aws::String m_resourceArn;
- bool m_resourceArnHasBeenSet = false;
-
- PublicAccessBlockConfig m_publicAccessBlockConfig;
- bool m_publicAccessBlockConfigHasBeenSet = false;
- };
-
-} // namespace Model
-} // namespace Lambda
-} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/PutPublicAccessBlockConfigResult.h b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/PutPublicAccessBlockConfigResult.h
deleted file mode 100644
index ff030b54a2b..00000000000
--- a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/PutPublicAccessBlockConfigResult.h
+++ /dev/null
@@ -1,66 +0,0 @@
-/**
- * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
- * SPDX-License-Identifier: Apache-2.0.
- */
-
-#pragma once
-#include
-#include
-#include
-#include
-
-namespace Aws
-{
-template
-class AmazonWebServiceResult;
-
-namespace Utils
-{
-namespace Json
-{
- class JsonValue;
-} // namespace Json
-} // namespace Utils
-namespace Lambda
-{
-namespace Model
-{
- class PutPublicAccessBlockConfigResult
- {
- public:
- AWS_LAMBDA_API PutPublicAccessBlockConfigResult();
- AWS_LAMBDA_API PutPublicAccessBlockConfigResult(const Aws::AmazonWebServiceResult& result);
- AWS_LAMBDA_API PutPublicAccessBlockConfigResult& operator=(const Aws::AmazonWebServiceResult& result);
-
-
- ///@{
- /**
- * The public-access settings Lambda applied to your function.
- */
- inline const PublicAccessBlockConfig& GetPublicAccessBlockConfig() const{ return m_publicAccessBlockConfig; }
- inline void SetPublicAccessBlockConfig(const PublicAccessBlockConfig& value) { m_publicAccessBlockConfig = value; }
- inline void SetPublicAccessBlockConfig(PublicAccessBlockConfig&& value) { m_publicAccessBlockConfig = std::move(value); }
- inline PutPublicAccessBlockConfigResult& WithPublicAccessBlockConfig(const PublicAccessBlockConfig& value) { SetPublicAccessBlockConfig(value); return *this;}
- inline PutPublicAccessBlockConfigResult& WithPublicAccessBlockConfig(PublicAccessBlockConfig&& value) { SetPublicAccessBlockConfig(std::move(value)); return *this;}
- ///@}
-
- ///@{
-
- inline const Aws::String& GetRequestId() const{ return m_requestId; }
- inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
- inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
- inline void SetRequestId(const char* value) { m_requestId.assign(value); }
- inline PutPublicAccessBlockConfigResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
- inline PutPublicAccessBlockConfigResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
- inline PutPublicAccessBlockConfigResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
- ///@}
- private:
-
- PublicAccessBlockConfig m_publicAccessBlockConfig;
-
- Aws::String m_requestId;
- };
-
-} // namespace Model
-} // namespace Lambda
-} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/PutResourcePolicyRequest.h b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/PutResourcePolicyRequest.h
deleted file mode 100644
index 13fd8450763..00000000000
--- a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/PutResourcePolicyRequest.h
+++ /dev/null
@@ -1,97 +0,0 @@
-/**
- * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
- * SPDX-License-Identifier: Apache-2.0.
- */
-
-#pragma once
-#include
-#include
-#include
-#include
-
-namespace Aws
-{
-namespace Lambda
-{
-namespace Model
-{
-
- /**
- */
- class PutResourcePolicyRequest : public LambdaRequest
- {
- public:
- AWS_LAMBDA_API PutResourcePolicyRequest();
-
- // Service request name is the Operation name which will send this request out,
- // each operation should has unique request name, so that we can get operation's name from this request.
- // Note: this is not true for response, multiple operations may have the same response name,
- // so we can not get operation's name from response.
- inline virtual const char* GetServiceRequestName() const override { return "PutResourcePolicy"; }
-
- AWS_LAMBDA_API Aws::String SerializePayload() const override;
-
-
- ///@{
- /**
- * The Amazon Resource Name (ARN) of the function you want to add the policy to.
- * You can use either a qualified or an unqualified ARN, but the value you specify
- * must be a complete ARN and wildcard characters are not accepted.
- */
- inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
- inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
- inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
- inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
- inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
- inline PutResourcePolicyRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
- inline PutResourcePolicyRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
- inline PutResourcePolicyRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
- ///@}
-
- ///@{
- /**
- * The JSON resource-based policy you want to add to your function.
To
- * learn more about creating resource-based policies for controlling access to
- * Lambda, see Working with resource-based
- * IAM policies in Lambda in the Lambda Developer Guide.
- */
- inline const Aws::String& GetPolicy() const{ return m_policy; }
- inline bool PolicyHasBeenSet() const { return m_policyHasBeenSet; }
- inline void SetPolicy(const Aws::String& value) { m_policyHasBeenSet = true; m_policy = value; }
- inline void SetPolicy(Aws::String&& value) { m_policyHasBeenSet = true; m_policy = std::move(value); }
- inline void SetPolicy(const char* value) { m_policyHasBeenSet = true; m_policy.assign(value); }
- inline PutResourcePolicyRequest& WithPolicy(const Aws::String& value) { SetPolicy(value); return *this;}
- inline PutResourcePolicyRequest& WithPolicy(Aws::String&& value) { SetPolicy(std::move(value)); return *this;}
- inline PutResourcePolicyRequest& WithPolicy(const char* value) { SetPolicy(value); return *this;}
- ///@}
-
- ///@{
- /**
- * Replace the existing policy only if its revision ID matches the string you
- * specify. To find the revision ID of the policy currently attached to your
- * function, use the GetResourcePolicy action.
- */
- inline const Aws::String& GetRevisionId() const{ return m_revisionId; }
- inline bool RevisionIdHasBeenSet() const { return m_revisionIdHasBeenSet; }
- inline void SetRevisionId(const Aws::String& value) { m_revisionIdHasBeenSet = true; m_revisionId = value; }
- inline void SetRevisionId(Aws::String&& value) { m_revisionIdHasBeenSet = true; m_revisionId = std::move(value); }
- inline void SetRevisionId(const char* value) { m_revisionIdHasBeenSet = true; m_revisionId.assign(value); }
- inline PutResourcePolicyRequest& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;}
- inline PutResourcePolicyRequest& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;}
- inline PutResourcePolicyRequest& WithRevisionId(const char* value) { SetRevisionId(value); return *this;}
- ///@}
- private:
-
- Aws::String m_resourceArn;
- bool m_resourceArnHasBeenSet = false;
-
- Aws::String m_policy;
- bool m_policyHasBeenSet = false;
-
- Aws::String m_revisionId;
- bool m_revisionIdHasBeenSet = false;
- };
-
-} // namespace Model
-} // namespace Lambda
-} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/PutResourcePolicyResult.h b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/PutResourcePolicyResult.h
deleted file mode 100644
index c7a5b7fb5b1..00000000000
--- a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/PutResourcePolicyResult.h
+++ /dev/null
@@ -1,82 +0,0 @@
-/**
- * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
- * SPDX-License-Identifier: Apache-2.0.
- */
-
-#pragma once
-#include
-#include
-#include
-
-namespace Aws
-{
-template
-class AmazonWebServiceResult;
-
-namespace Utils
-{
-namespace Json
-{
- class JsonValue;
-} // namespace Json
-} // namespace Utils
-namespace Lambda
-{
-namespace Model
-{
- class PutResourcePolicyResult
- {
- public:
- AWS_LAMBDA_API PutResourcePolicyResult();
- AWS_LAMBDA_API PutResourcePolicyResult(const Aws::AmazonWebServiceResult& result);
- AWS_LAMBDA_API PutResourcePolicyResult& operator=(const Aws::AmazonWebServiceResult& result);
-
-
- ///@{
- /**
- * The policy Lambda added to your function.
- */
- inline const Aws::String& GetPolicy() const{ return m_policy; }
- inline void SetPolicy(const Aws::String& value) { m_policy = value; }
- inline void SetPolicy(Aws::String&& value) { m_policy = std::move(value); }
- inline void SetPolicy(const char* value) { m_policy.assign(value); }
- inline PutResourcePolicyResult& WithPolicy(const Aws::String& value) { SetPolicy(value); return *this;}
- inline PutResourcePolicyResult& WithPolicy(Aws::String&& value) { SetPolicy(std::move(value)); return *this;}
- inline PutResourcePolicyResult& WithPolicy(const char* value) { SetPolicy(value); return *this;}
- ///@}
-
- ///@{
- /**
- * The revision ID of the policy Lambda added to your function.
- */
- inline const Aws::String& GetRevisionId() const{ return m_revisionId; }
- inline void SetRevisionId(const Aws::String& value) { m_revisionId = value; }
- inline void SetRevisionId(Aws::String&& value) { m_revisionId = std::move(value); }
- inline void SetRevisionId(const char* value) { m_revisionId.assign(value); }
- inline PutResourcePolicyResult& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;}
- inline PutResourcePolicyResult& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;}
- inline PutResourcePolicyResult& WithRevisionId(const char* value) { SetRevisionId(value); return *this;}
- ///@}
-
- ///@{
-
- inline const Aws::String& GetRequestId() const{ return m_requestId; }
- inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
- inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
- inline void SetRequestId(const char* value) { m_requestId.assign(value); }
- inline PutResourcePolicyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
- inline PutResourcePolicyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
- inline PutResourcePolicyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
- ///@}
- private:
-
- Aws::String m_policy;
-
- Aws::String m_revisionId;
-
- Aws::String m_requestId;
- };
-
-} // namespace Model
-} // namespace Lambda
-} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-lambda/source/LambdaClient.cpp b/generated/src/aws-cpp-sdk-lambda/source/LambdaClient.cpp
index 9786180967c..4a1fb0d4660 100644
--- a/generated/src/aws-cpp-sdk-lambda/source/LambdaClient.cpp
+++ b/generated/src/aws-cpp-sdk-lambda/source/LambdaClient.cpp
@@ -39,7 +39,6 @@
#include
#include
#include
-#include
#include
#include
#include
@@ -56,8 +55,6 @@
#include
#include
#include
-#include
-#include
#include
#include
#include
@@ -80,8 +77,6 @@
#include
#include
#include
-#include
-#include
#include
#include
#include
@@ -815,39 +810,6 @@ DeleteProvisionedConcurrencyConfigOutcome LambdaClient::DeleteProvisionedConcurr
{{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
}
-DeleteResourcePolicyOutcome LambdaClient::DeleteResourcePolicy(const DeleteResourcePolicyRequest& request) const
-{
- AWS_OPERATION_GUARD(DeleteResourcePolicy);
- AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteResourcePolicy, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE);
- if (!request.ResourceArnHasBeenSet())
- {
- AWS_LOGSTREAM_ERROR("DeleteResourcePolicy", "Required field: ResourceArn, is not set");
- return DeleteResourcePolicyOutcome(Aws::Client::AWSError(LambdaErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ResourceArn]", false));
- }
- AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteResourcePolicy, CoreErrors, CoreErrors::NOT_INITIALIZED);
- auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {});
- auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {});
- AWS_OPERATION_CHECK_PTR(meter, DeleteResourcePolicy, CoreErrors, CoreErrors::NOT_INITIALIZED);
- auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DeleteResourcePolicy",
- {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }},
- smithy::components::tracing::SpanKind::CLIENT);
- return TracingUtils::MakeCallWithTiming(
- [&]()-> DeleteResourcePolicyOutcome {
- auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming(
- [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); },
- TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC,
- *meter,
- {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
- AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, DeleteResourcePolicy, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage());
- endpointResolutionOutcome.GetResult().AddPathSegments("/2024-09-16/resource-policy/");
- endpointResolutionOutcome.GetResult().AddPathSegment(request.GetResourceArn());
- return DeleteResourcePolicyOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_DELETE, Aws::Auth::SIGV4_SIGNER));
- },
- TracingUtils::SMITHY_CLIENT_DURATION_METRIC,
- *meter,
- {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
-}
-
GetAccountSettingsOutcome LambdaClient::GetAccountSettings(const GetAccountSettingsRequest& request) const
{
AWS_OPERATION_GUARD(GetAccountSettings);
@@ -1407,72 +1369,6 @@ GetProvisionedConcurrencyConfigOutcome LambdaClient::GetProvisionedConcurrencyCo
{{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
}
-GetPublicAccessBlockConfigOutcome LambdaClient::GetPublicAccessBlockConfig(const GetPublicAccessBlockConfigRequest& request) const
-{
- AWS_OPERATION_GUARD(GetPublicAccessBlockConfig);
- AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetPublicAccessBlockConfig, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE);
- if (!request.ResourceArnHasBeenSet())
- {
- AWS_LOGSTREAM_ERROR("GetPublicAccessBlockConfig", "Required field: ResourceArn, is not set");
- return GetPublicAccessBlockConfigOutcome(Aws::Client::AWSError(LambdaErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ResourceArn]", false));
- }
- AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetPublicAccessBlockConfig, CoreErrors, CoreErrors::NOT_INITIALIZED);
- auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {});
- auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {});
- AWS_OPERATION_CHECK_PTR(meter, GetPublicAccessBlockConfig, CoreErrors, CoreErrors::NOT_INITIALIZED);
- auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetPublicAccessBlockConfig",
- {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }},
- smithy::components::tracing::SpanKind::CLIENT);
- return TracingUtils::MakeCallWithTiming(
- [&]()-> GetPublicAccessBlockConfigOutcome {
- auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming(
- [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); },
- TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC,
- *meter,
- {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
- AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, GetPublicAccessBlockConfig, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage());
- endpointResolutionOutcome.GetResult().AddPathSegments("/2024-09-16/public-access-block/");
- endpointResolutionOutcome.GetResult().AddPathSegment(request.GetResourceArn());
- return GetPublicAccessBlockConfigOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER));
- },
- TracingUtils::SMITHY_CLIENT_DURATION_METRIC,
- *meter,
- {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
-}
-
-GetResourcePolicyOutcome LambdaClient::GetResourcePolicy(const GetResourcePolicyRequest& request) const
-{
- AWS_OPERATION_GUARD(GetResourcePolicy);
- AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetResourcePolicy, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE);
- if (!request.ResourceArnHasBeenSet())
- {
- AWS_LOGSTREAM_ERROR("GetResourcePolicy", "Required field: ResourceArn, is not set");
- return GetResourcePolicyOutcome(Aws::Client::AWSError(LambdaErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ResourceArn]", false));
- }
- AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetResourcePolicy, CoreErrors, CoreErrors::NOT_INITIALIZED);
- auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {});
- auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {});
- AWS_OPERATION_CHECK_PTR(meter, GetResourcePolicy, CoreErrors, CoreErrors::NOT_INITIALIZED);
- auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetResourcePolicy",
- {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }},
- smithy::components::tracing::SpanKind::CLIENT);
- return TracingUtils::MakeCallWithTiming(
- [&]()-> GetResourcePolicyOutcome {
- auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming(
- [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); },
- TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC,
- *meter,
- {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
- AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, GetResourcePolicy, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage());
- endpointResolutionOutcome.GetResult().AddPathSegments("/2024-09-16/resource-policy/");
- endpointResolutionOutcome.GetResult().AddPathSegment(request.GetResourceArn());
- return GetResourcePolicyOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER));
- },
- TracingUtils::SMITHY_CLIENT_DURATION_METRIC,
- *meter,
- {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
-}
-
GetRuntimeManagementConfigOutcome LambdaClient::GetRuntimeManagementConfig(const GetRuntimeManagementConfigRequest& request) const
{
AWS_OPERATION_GUARD(GetRuntimeManagementConfig);
@@ -2203,72 +2099,6 @@ PutProvisionedConcurrencyConfigOutcome LambdaClient::PutProvisionedConcurrencyCo
{{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
}
-PutPublicAccessBlockConfigOutcome LambdaClient::PutPublicAccessBlockConfig(const PutPublicAccessBlockConfigRequest& request) const
-{
- AWS_OPERATION_GUARD(PutPublicAccessBlockConfig);
- AWS_OPERATION_CHECK_PTR(m_endpointProvider, PutPublicAccessBlockConfig, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE);
- if (!request.ResourceArnHasBeenSet())
- {
- AWS_LOGSTREAM_ERROR("PutPublicAccessBlockConfig", "Required field: ResourceArn, is not set");
- return PutPublicAccessBlockConfigOutcome(Aws::Client::AWSError(LambdaErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ResourceArn]", false));
- }
- AWS_OPERATION_CHECK_PTR(m_telemetryProvider, PutPublicAccessBlockConfig, CoreErrors, CoreErrors::NOT_INITIALIZED);
- auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {});
- auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {});
- AWS_OPERATION_CHECK_PTR(meter, PutPublicAccessBlockConfig, CoreErrors, CoreErrors::NOT_INITIALIZED);
- auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".PutPublicAccessBlockConfig",
- {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }},
- smithy::components::tracing::SpanKind::CLIENT);
- return TracingUtils::MakeCallWithTiming(
- [&]()-> PutPublicAccessBlockConfigOutcome {
- auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming(
- [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); },
- TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC,
- *meter,
- {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
- AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, PutPublicAccessBlockConfig, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage());
- endpointResolutionOutcome.GetResult().AddPathSegments("/2024-09-16/public-access-block/");
- endpointResolutionOutcome.GetResult().AddPathSegment(request.GetResourceArn());
- return PutPublicAccessBlockConfigOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PUT, Aws::Auth::SIGV4_SIGNER));
- },
- TracingUtils::SMITHY_CLIENT_DURATION_METRIC,
- *meter,
- {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
-}
-
-PutResourcePolicyOutcome LambdaClient::PutResourcePolicy(const PutResourcePolicyRequest& request) const
-{
- AWS_OPERATION_GUARD(PutResourcePolicy);
- AWS_OPERATION_CHECK_PTR(m_endpointProvider, PutResourcePolicy, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE);
- if (!request.ResourceArnHasBeenSet())
- {
- AWS_LOGSTREAM_ERROR("PutResourcePolicy", "Required field: ResourceArn, is not set");
- return PutResourcePolicyOutcome(Aws::Client::AWSError(LambdaErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ResourceArn]", false));
- }
- AWS_OPERATION_CHECK_PTR(m_telemetryProvider, PutResourcePolicy, CoreErrors, CoreErrors::NOT_INITIALIZED);
- auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {});
- auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {});
- AWS_OPERATION_CHECK_PTR(meter, PutResourcePolicy, CoreErrors, CoreErrors::NOT_INITIALIZED);
- auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".PutResourcePolicy",
- {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }},
- smithy::components::tracing::SpanKind::CLIENT);
- return TracingUtils::MakeCallWithTiming(
- [&]()-> PutResourcePolicyOutcome {
- auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming(
- [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); },
- TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC,
- *meter,
- {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
- AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, PutResourcePolicy, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage());
- endpointResolutionOutcome.GetResult().AddPathSegments("/2024-09-16/resource-policy/");
- endpointResolutionOutcome.GetResult().AddPathSegment(request.GetResourceArn());
- return PutResourcePolicyOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PUT, Aws::Auth::SIGV4_SIGNER));
- },
- TracingUtils::SMITHY_CLIENT_DURATION_METRIC,
- *meter,
- {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
-}
-
PutRuntimeManagementConfigOutcome LambdaClient::PutRuntimeManagementConfig(const PutRuntimeManagementConfigRequest& request) const
{
AWS_OPERATION_GUARD(PutRuntimeManagementConfig);
diff --git a/generated/src/aws-cpp-sdk-lambda/source/LambdaErrors.cpp b/generated/src/aws-cpp-sdk-lambda/source/LambdaErrors.cpp
index 6b2ae3ed934..bfcc290fc7f 100644
--- a/generated/src/aws-cpp-sdk-lambda/source/LambdaErrors.cpp
+++ b/generated/src/aws-cpp-sdk-lambda/source/LambdaErrors.cpp
@@ -11,7 +11,6 @@
#include
#include
#include
-#include
#include
#include
#include
@@ -85,12 +84,6 @@ template<> AWS_LAMBDA_API KMSInvalidStateException LambdaError::GetModeledError(
return KMSInvalidStateException(this->GetJsonPayload().View());
}
-template<> AWS_LAMBDA_API PublicPolicyException LambdaError::GetModeledError()
-{
- assert(this->GetErrorType() == LambdaErrors::PUBLIC_POLICY);
- return PublicPolicyException(this->GetJsonPayload().View());
-}
-
template<> AWS_LAMBDA_API RecursiveInvocationException LambdaError::GetModeledError()
{
assert(this->GetErrorType() == LambdaErrors::RECURSIVE_INVOCATION);
@@ -296,7 +289,6 @@ static const int E_F_S_MOUNT_CONNECTIVITY_HASH = HashingUtils::HashString("EFSMo
static const int RESOURCE_NOT_READY_HASH = HashingUtils::HashString("ResourceNotReadyException");
static const int PROVISIONED_CONCURRENCY_CONFIG_NOT_FOUND_HASH = HashingUtils::HashString("ProvisionedConcurrencyConfigNotFoundException");
static const int K_M_S_INVALID_STATE_HASH = HashingUtils::HashString("KMSInvalidStateException");
-static const int PUBLIC_POLICY_HASH = HashingUtils::HashString("PublicPolicyException");
static const int RECURSIVE_INVOCATION_HASH = HashingUtils::HashString("RecursiveInvocationException");
static const int POLICY_LENGTH_EXCEEDED_HASH = HashingUtils::HashString("PolicyLengthExceededException");
static const int K_M_S_NOT_FOUND_HASH = HashingUtils::HashString("KMSNotFoundException");
@@ -351,10 +343,6 @@ AWSError GetErrorForName(const char* errorName)
{
return AWSError(static_cast(LambdaErrors::K_M_S_INVALID_STATE), RetryableType::NOT_RETRYABLE);
}
- else if (hashCode == PUBLIC_POLICY_HASH)
- {
- return AWSError(static_cast(LambdaErrors::PUBLIC_POLICY), RetryableType::NOT_RETRYABLE);
- }
else if (hashCode == RECURSIVE_INVOCATION_HASH)
{
return AWSError(static_cast(LambdaErrors::RECURSIVE_INVOCATION), RetryableType::NOT_RETRYABLE);
diff --git a/generated/src/aws-cpp-sdk-lambda/source/model/DeleteResourcePolicyRequest.cpp b/generated/src/aws-cpp-sdk-lambda/source/model/DeleteResourcePolicyRequest.cpp
deleted file mode 100644
index 94eaccc80c3..00000000000
--- a/generated/src/aws-cpp-sdk-lambda/source/model/DeleteResourcePolicyRequest.cpp
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
- * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
- * SPDX-License-Identifier: Apache-2.0.
- */
-
-#include
-#include
-#include
-#include
-
-#include
-
-using namespace Aws::Lambda::Model;
-using namespace Aws::Utils::Json;
-using namespace Aws::Utils;
-using namespace Aws::Http;
-
-DeleteResourcePolicyRequest::DeleteResourcePolicyRequest() :
- m_resourceArnHasBeenSet(false),
- m_revisionIdHasBeenSet(false)
-{
-}
-
-Aws::String DeleteResourcePolicyRequest::SerializePayload() const
-{
- return {};
-}
-
-void DeleteResourcePolicyRequest::AddQueryStringParameters(URI& uri) const
-{
- Aws::StringStream ss;
- if(m_revisionIdHasBeenSet)
- {
- ss << m_revisionId;
- uri.AddQueryStringParameter("RevisionId", ss.str());
- ss.str("");
- }
-
-}
-
-
-
diff --git a/generated/src/aws-cpp-sdk-lambda/source/model/GetPublicAccessBlockConfigRequest.cpp b/generated/src/aws-cpp-sdk-lambda/source/model/GetPublicAccessBlockConfigRequest.cpp
deleted file mode 100644
index 667b16c9a42..00000000000
--- a/generated/src/aws-cpp-sdk-lambda/source/model/GetPublicAccessBlockConfigRequest.cpp
+++ /dev/null
@@ -1,27 +0,0 @@
-/**
- * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
- * SPDX-License-Identifier: Apache-2.0.
- */
-
-#include
-#include
-
-#include
-
-using namespace Aws::Lambda::Model;
-using namespace Aws::Utils::Json;
-using namespace Aws::Utils;
-
-GetPublicAccessBlockConfigRequest::GetPublicAccessBlockConfigRequest() :
- m_resourceArnHasBeenSet(false)
-{
-}
-
-Aws::String GetPublicAccessBlockConfigRequest::SerializePayload() const
-{
- return {};
-}
-
-
-
-
diff --git a/generated/src/aws-cpp-sdk-lambda/source/model/GetPublicAccessBlockConfigResult.cpp b/generated/src/aws-cpp-sdk-lambda/source/model/GetPublicAccessBlockConfigResult.cpp
deleted file mode 100644
index 42dc3eed92f..00000000000
--- a/generated/src/aws-cpp-sdk-lambda/source/model/GetPublicAccessBlockConfigResult.cpp
+++ /dev/null
@@ -1,48 +0,0 @@
-/**
- * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
- * SPDX-License-Identifier: Apache-2.0.
- */
-
-#include
-#include
-#include
-#include
-#include
-#include
-
-#include
-
-using namespace Aws::Lambda::Model;
-using namespace Aws::Utils::Json;
-using namespace Aws::Utils;
-using namespace Aws;
-
-GetPublicAccessBlockConfigResult::GetPublicAccessBlockConfigResult()
-{
-}
-
-GetPublicAccessBlockConfigResult::GetPublicAccessBlockConfigResult(const Aws::AmazonWebServiceResult& result)
-{
- *this = result;
-}
-
-GetPublicAccessBlockConfigResult& GetPublicAccessBlockConfigResult::operator =(const Aws::AmazonWebServiceResult& result)
-{
- JsonView jsonValue = result.GetPayload().View();
- if(jsonValue.ValueExists("PublicAccessBlockConfig"))
- {
- m_publicAccessBlockConfig = jsonValue.GetObject("PublicAccessBlockConfig");
-
- }
-
-
- const auto& headers = result.GetHeaderValueCollection();
- const auto& requestIdIter = headers.find("x-amzn-requestid");
- if(requestIdIter != headers.end())
- {
- m_requestId = requestIdIter->second;
- }
-
-
- return *this;
-}
diff --git a/generated/src/aws-cpp-sdk-lambda/source/model/GetResourcePolicyRequest.cpp b/generated/src/aws-cpp-sdk-lambda/source/model/GetResourcePolicyRequest.cpp
deleted file mode 100644
index 36dae19bcf2..00000000000
--- a/generated/src/aws-cpp-sdk-lambda/source/model/GetResourcePolicyRequest.cpp
+++ /dev/null
@@ -1,27 +0,0 @@
-/**
- * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
- * SPDX-License-Identifier: Apache-2.0.
- */
-
-#include
-#include
-
-#include
-
-using namespace Aws::Lambda::Model;
-using namespace Aws::Utils::Json;
-using namespace Aws::Utils;
-
-GetResourcePolicyRequest::GetResourcePolicyRequest() :
- m_resourceArnHasBeenSet(false)
-{
-}
-
-Aws::String GetResourcePolicyRequest::SerializePayload() const
-{
- return {};
-}
-
-
-
-
diff --git a/generated/src/aws-cpp-sdk-lambda/source/model/GetResourcePolicyResult.cpp b/generated/src/aws-cpp-sdk-lambda/source/model/GetResourcePolicyResult.cpp
deleted file mode 100644
index 829ded9aceb..00000000000
--- a/generated/src/aws-cpp-sdk-lambda/source/model/GetResourcePolicyResult.cpp
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
- * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
- * SPDX-License-Identifier: Apache-2.0.
- */
-
-#include
-#include
-#include
-#include
-#include
-#include
-
-#include
-
-using namespace Aws::Lambda::Model;
-using namespace Aws::Utils::Json;
-using namespace Aws::Utils;
-using namespace Aws;
-
-GetResourcePolicyResult::GetResourcePolicyResult()
-{
-}
-
-GetResourcePolicyResult::GetResourcePolicyResult(const Aws::AmazonWebServiceResult& result)
-{
- *this = result;
-}
-
-GetResourcePolicyResult& GetResourcePolicyResult::operator =(const Aws::AmazonWebServiceResult& result)
-{
- JsonView jsonValue = result.GetPayload().View();
- if(jsonValue.ValueExists("Policy"))
- {
- m_policy = jsonValue.GetString("Policy");
-
- }
-
- if(jsonValue.ValueExists("RevisionId"))
- {
- m_revisionId = jsonValue.GetString("RevisionId");
-
- }
-
-
- const auto& headers = result.GetHeaderValueCollection();
- const auto& requestIdIter = headers.find("x-amzn-requestid");
- if(requestIdIter != headers.end())
- {
- m_requestId = requestIdIter->second;
- }
-
-
- return *this;
-}
diff --git a/generated/src/aws-cpp-sdk-lambda/source/model/PublicAccessBlockConfig.cpp b/generated/src/aws-cpp-sdk-lambda/source/model/PublicAccessBlockConfig.cpp
deleted file mode 100644
index d6d2813aa77..00000000000
--- a/generated/src/aws-cpp-sdk-lambda/source/model/PublicAccessBlockConfig.cpp
+++ /dev/null
@@ -1,75 +0,0 @@
-/**
- * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
- * SPDX-License-Identifier: Apache-2.0.
- */
-
-#include
-#include
-
-#include
-
-using namespace Aws::Utils::Json;
-using namespace Aws::Utils;
-
-namespace Aws
-{
-namespace Lambda
-{
-namespace Model
-{
-
-PublicAccessBlockConfig::PublicAccessBlockConfig() :
- m_blockPublicPolicy(false),
- m_blockPublicPolicyHasBeenSet(false),
- m_restrictPublicResource(false),
- m_restrictPublicResourceHasBeenSet(false)
-{
-}
-
-PublicAccessBlockConfig::PublicAccessBlockConfig(JsonView jsonValue)
- : PublicAccessBlockConfig()
-{
- *this = jsonValue;
-}
-
-PublicAccessBlockConfig& PublicAccessBlockConfig::operator =(JsonView jsonValue)
-{
- if(jsonValue.ValueExists("BlockPublicPolicy"))
- {
- m_blockPublicPolicy = jsonValue.GetBool("BlockPublicPolicy");
-
- m_blockPublicPolicyHasBeenSet = true;
- }
-
- if(jsonValue.ValueExists("RestrictPublicResource"))
- {
- m_restrictPublicResource = jsonValue.GetBool("RestrictPublicResource");
-
- m_restrictPublicResourceHasBeenSet = true;
- }
-
- return *this;
-}
-
-JsonValue PublicAccessBlockConfig::Jsonize() const
-{
- JsonValue payload;
-
- if(m_blockPublicPolicyHasBeenSet)
- {
- payload.WithBool("BlockPublicPolicy", m_blockPublicPolicy);
-
- }
-
- if(m_restrictPublicResourceHasBeenSet)
- {
- payload.WithBool("RestrictPublicResource", m_restrictPublicResource);
-
- }
-
- return payload;
-}
-
-} // namespace Model
-} // namespace Lambda
-} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-lambda/source/model/PublicPolicyException.cpp b/generated/src/aws-cpp-sdk-lambda/source/model/PublicPolicyException.cpp
deleted file mode 100644
index 25ad620238c..00000000000
--- a/generated/src/aws-cpp-sdk-lambda/source/model/PublicPolicyException.cpp
+++ /dev/null
@@ -1,73 +0,0 @@
-/**
- * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
- * SPDX-License-Identifier: Apache-2.0.
- */
-
-#include
-#include
-
-#include
-
-using namespace Aws::Utils::Json;
-using namespace Aws::Utils;
-
-namespace Aws
-{
-namespace Lambda
-{
-namespace Model
-{
-
-PublicPolicyException::PublicPolicyException() :
- m_typeHasBeenSet(false),
- m_messageHasBeenSet(false)
-{
-}
-
-PublicPolicyException::PublicPolicyException(JsonView jsonValue)
- : PublicPolicyException()
-{
- *this = jsonValue;
-}
-
-PublicPolicyException& PublicPolicyException::operator =(JsonView jsonValue)
-{
- if(jsonValue.ValueExists("Type"))
- {
- m_type = jsonValue.GetString("Type");
-
- m_typeHasBeenSet = true;
- }
-
- if(jsonValue.ValueExists("Message"))
- {
- m_message = jsonValue.GetString("Message");
-
- m_messageHasBeenSet = true;
- }
-
- return *this;
-}
-
-JsonValue PublicPolicyException::Jsonize() const
-{
- JsonValue payload;
-
- if(m_typeHasBeenSet)
- {
- payload.WithString("Type", m_type);
-
- }
-
- if(m_messageHasBeenSet)
- {
- payload.WithString("Message", m_message);
-
- }
-
- return payload;
-}
-
-} // namespace Model
-} // namespace Lambda
-} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-lambda/source/model/PutPublicAccessBlockConfigRequest.cpp b/generated/src/aws-cpp-sdk-lambda/source/model/PutPublicAccessBlockConfigRequest.cpp
deleted file mode 100644
index 27b404c331e..00000000000
--- a/generated/src/aws-cpp-sdk-lambda/source/model/PutPublicAccessBlockConfigRequest.cpp
+++ /dev/null
@@ -1,36 +0,0 @@
-/**
- * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
- * SPDX-License-Identifier: Apache-2.0.
- */
-
-#include
-#include
-
-#include
-
-using namespace Aws::Lambda::Model;
-using namespace Aws::Utils::Json;
-using namespace Aws::Utils;
-
-PutPublicAccessBlockConfigRequest::PutPublicAccessBlockConfigRequest() :
- m_resourceArnHasBeenSet(false),
- m_publicAccessBlockConfigHasBeenSet(false)
-{
-}
-
-Aws::String PutPublicAccessBlockConfigRequest::SerializePayload() const
-{
- JsonValue payload;
-
- if(m_publicAccessBlockConfigHasBeenSet)
- {
- payload.WithObject("PublicAccessBlockConfig", m_publicAccessBlockConfig.Jsonize());
-
- }
-
- return payload.View().WriteReadable();
-}
-
-
-
-
diff --git a/generated/src/aws-cpp-sdk-lambda/source/model/PutPublicAccessBlockConfigResult.cpp b/generated/src/aws-cpp-sdk-lambda/source/model/PutPublicAccessBlockConfigResult.cpp
deleted file mode 100644
index a50969c9304..00000000000
--- a/generated/src/aws-cpp-sdk-lambda/source/model/PutPublicAccessBlockConfigResult.cpp
+++ /dev/null
@@ -1,48 +0,0 @@
-/**
- * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
- * SPDX-License-Identifier: Apache-2.0.
- */
-
-#include
-#include
-#include
-#include
-#include
-#include
-
-#include
-
-using namespace Aws::Lambda::Model;
-using namespace Aws::Utils::Json;
-using namespace Aws::Utils;
-using namespace Aws;
-
-PutPublicAccessBlockConfigResult::PutPublicAccessBlockConfigResult()
-{
-}
-
-PutPublicAccessBlockConfigResult::PutPublicAccessBlockConfigResult(const Aws::AmazonWebServiceResult& result)
-{
- *this = result;
-}
-
-PutPublicAccessBlockConfigResult& PutPublicAccessBlockConfigResult::operator =(const Aws::AmazonWebServiceResult& result)
-{
- JsonView jsonValue = result.GetPayload().View();
- if(jsonValue.ValueExists("PublicAccessBlockConfig"))
- {
- m_publicAccessBlockConfig = jsonValue.GetObject("PublicAccessBlockConfig");
-
- }
-
-
- const auto& headers = result.GetHeaderValueCollection();
- const auto& requestIdIter = headers.find("x-amzn-requestid");
- if(requestIdIter != headers.end())
- {
- m_requestId = requestIdIter->second;
- }
-
-
- return *this;
-}
diff --git a/generated/src/aws-cpp-sdk-lambda/source/model/PutResourcePolicyRequest.cpp b/generated/src/aws-cpp-sdk-lambda/source/model/PutResourcePolicyRequest.cpp
deleted file mode 100644
index 34befbc7684..00000000000
--- a/generated/src/aws-cpp-sdk-lambda/source/model/PutResourcePolicyRequest.cpp
+++ /dev/null
@@ -1,43 +0,0 @@
-/**
- * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
- * SPDX-License-Identifier: Apache-2.0.
- */
-
-#include
-#include
-
-#include