/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.tnb; import org.w3c.dom.*; import java.net.*; import java.util.*; import javax.annotation.Generated; import org.apache.commons.logging.*; import com.amazonaws.*; import com.amazonaws.annotation.SdkInternalApi; import com.amazonaws.auth.*; import com.amazonaws.handlers.*; import com.amazonaws.http.*; import com.amazonaws.internal.*; import com.amazonaws.internal.auth.*; import com.amazonaws.metrics.*; import com.amazonaws.regions.*; import com.amazonaws.transform.*; import com.amazonaws.util.*; import com.amazonaws.protocol.json.*; import com.amazonaws.util.AWSRequestMetrics.Field; import com.amazonaws.annotation.ThreadSafe; import com.amazonaws.client.AwsSyncClientParams; import com.amazonaws.client.builder.AdvancedConfig; import com.amazonaws.services.tnb.AWSTnbClientBuilder; import com.amazonaws.AmazonServiceException; import com.amazonaws.services.tnb.model.*; import com.amazonaws.services.tnb.model.transform.*; /** * Client for accessing AWS Telco Network Builder. All service calls made using this client are blocking, and will not * return until the service call completes. *
*
* Amazon Web Services Telco Network Builder (TNB) is a network automation service that helps you deploy and manage * telecom networks. AWS TNB helps you with the lifecycle management of your telecommunication network functions * throughout planning, deployment, and post-deployment activities. *
*/ @ThreadSafe @Generated("com.amazonaws:aws-java-sdk-code-generator") public class AWSTnbClient extends AmazonWebServiceClient implements AWSTnb { /** Provider for AWS credentials. */ private final AWSCredentialsProvider awsCredentialsProvider; private static final Log log = LogFactory.getLog(AWSTnb.class); /** Default signing name for the service. */ private static final String DEFAULT_SIGNING_NAME = "tnb"; /** Client configuration factory providing ClientConfigurations tailored to this client */ protected static final ClientConfigurationFactory configFactory = new ClientConfigurationFactory(); private final AdvancedConfig advancedConfig; private static final com.amazonaws.protocol.json.SdkJsonProtocolFactory protocolFactory = new com.amazonaws.protocol.json.SdkJsonProtocolFactory( new JsonClientMetadata() .withProtocolVersion("1.1") .withSupportsCbor(false) .withSupportsIon(false) .withContentTypeOverride("application/json") .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("ThrottlingException").withExceptionUnmarshaller( com.amazonaws.services.tnb.model.transform.ThrottlingExceptionUnmarshaller.getInstance())) .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("ServiceQuotaExceededException").withExceptionUnmarshaller( com.amazonaws.services.tnb.model.transform.ServiceQuotaExceededExceptionUnmarshaller.getInstance())) .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("InternalServerException").withExceptionUnmarshaller( com.amazonaws.services.tnb.model.transform.InternalServerExceptionUnmarshaller.getInstance())) .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("AccessDeniedException").withExceptionUnmarshaller( com.amazonaws.services.tnb.model.transform.AccessDeniedExceptionUnmarshaller.getInstance())) .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("ResourceNotFoundException").withExceptionUnmarshaller( com.amazonaws.services.tnb.model.transform.ResourceNotFoundExceptionUnmarshaller.getInstance())) .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("ValidationException").withExceptionUnmarshaller( com.amazonaws.services.tnb.model.transform.ValidationExceptionUnmarshaller.getInstance())) .withBaseServiceExceptionClass(com.amazonaws.services.tnb.model.AWSTnbException.class)); public static AWSTnbClientBuilder builder() { return AWSTnbClientBuilder.standard(); } /** * Constructs a new client to invoke service methods on AWS Telco Network Builder using the specified parameters. * ** All service calls made using this new client object are blocking, and will not return until the service call * completes. * * @param clientParams * Object providing client parameters. */ AWSTnbClient(AwsSyncClientParams clientParams) { this(clientParams, false); } /** * Constructs a new client to invoke service methods on AWS Telco Network Builder using the specified parameters. * *
* All service calls made using this new client object are blocking, and will not return until the service call * completes. * * @param clientParams * Object providing client parameters. */ AWSTnbClient(AwsSyncClientParams clientParams, boolean endpointDiscoveryEnabled) { super(clientParams); this.awsCredentialsProvider = clientParams.getCredentialsProvider(); this.advancedConfig = clientParams.getAdvancedConfig(); init(); } private void init() { setServiceNameIntern(DEFAULT_SIGNING_NAME); setEndpointPrefix(ENDPOINT_PREFIX); // calling this.setEndPoint(...) will also modify the signer accordingly setEndpoint("tnb.us-east-1.amazonaws.com"); HandlerChainFactory chainFactory = new HandlerChainFactory(); requestHandler2s.addAll(chainFactory.newRequestHandlerChain("/com/amazonaws/services/tnb/request.handlers")); requestHandler2s.addAll(chainFactory.newRequestHandler2Chain("/com/amazonaws/services/tnb/request.handler2s")); requestHandler2s.addAll(chainFactory.getGlobalHandlers()); } /** *
* Cancels a network operation. *
** A network operation is any operation that is done to your network, such as network instance instantiation or * termination. *
* * @param cancelSolNetworkOperationRequest * @return Result of the CancelSolNetworkOperation operation returned by the service. * @throws InternalServerException * Unexpected error occurred. Problem on the server. * @throws ThrottlingException * Exception caused by throttling. * @throws ValidationException * Unable to process the request because the client provided input failed to satisfy request constraints. * @throws ResourceNotFoundException * Request references a resource that doesn't exist. * @throws AccessDeniedException * Insufficient permissions to make request. * @sample AWSTnb.CancelSolNetworkOperation * @see AWS * API Documentation */ @Override public CancelSolNetworkOperationResult cancelSolNetworkOperation(CancelSolNetworkOperationRequest request) { request = beforeClientExecution(request); return executeCancelSolNetworkOperation(request); } @SdkInternalApi final CancelSolNetworkOperationResult executeCancelSolNetworkOperation(CancelSolNetworkOperationRequest cancelSolNetworkOperationRequest) { ExecutionContext executionContext = createExecutionContext(cancelSolNetworkOperationRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Creates a function package. *
** A function package is a .zip file in CSAR (Cloud Service Archive) format that contains a network function (an * ETSI standard telecommunication application) and function package descriptor that uses the TOSCA standard to * describe how the network functions should run on your network. For more information, see Function packages in the Amazon * Web Services Telco Network Builder User Guide. *
** Creating a function package is the first step for creating a network in AWS TNB. This request creates an empty * container with an ID. The next step is to upload the actual CSAR zip file into that empty container. To upload * function package content, see PutSolFunctionPackageContent. *
* * @param createSolFunctionPackageRequest * @return Result of the CreateSolFunctionPackage operation returned by the service. * @throws InternalServerException * Unexpected error occurred. Problem on the server. * @throws ServiceQuotaExceededException * Service quotas have been exceeded. * @throws ThrottlingException * Exception caused by throttling. * @throws ValidationException * Unable to process the request because the client provided input failed to satisfy request constraints. * @throws AccessDeniedException * Insufficient permissions to make request. * @sample AWSTnb.CreateSolFunctionPackage * @see AWS * API Documentation */ @Override public CreateSolFunctionPackageResult createSolFunctionPackage(CreateSolFunctionPackageRequest request) { request = beforeClientExecution(request); return executeCreateSolFunctionPackage(request); } @SdkInternalApi final CreateSolFunctionPackageResult executeCreateSolFunctionPackage(CreateSolFunctionPackageRequest createSolFunctionPackageRequest) { ExecutionContext executionContext = createExecutionContext(createSolFunctionPackageRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Creates a network instance. *
** A network instance is a single network created in Amazon Web Services TNB that can be deployed and on which * life-cycle operations (like terminate, update, and delete) can be performed. Creating a network instance is the * third step after creating a network package. For more information about network instances, Network instances in the Amazon * Web Services Telco Network Builder User Guide. *
** Once you create a network instance, you can instantiate it. To instantiate a network, see InstantiateSolNetworkInstance. *
* * @param createSolNetworkInstanceRequest * @return Result of the CreateSolNetworkInstance operation returned by the service. * @throws InternalServerException * Unexpected error occurred. Problem on the server. * @throws ServiceQuotaExceededException * Service quotas have been exceeded. * @throws ThrottlingException * Exception caused by throttling. * @throws ValidationException * Unable to process the request because the client provided input failed to satisfy request constraints. * @throws ResourceNotFoundException * Request references a resource that doesn't exist. * @throws AccessDeniedException * Insufficient permissions to make request. * @sample AWSTnb.CreateSolNetworkInstance * @see AWS * API Documentation */ @Override public CreateSolNetworkInstanceResult createSolNetworkInstance(CreateSolNetworkInstanceRequest request) { request = beforeClientExecution(request); return executeCreateSolNetworkInstance(request); } @SdkInternalApi final CreateSolNetworkInstanceResult executeCreateSolNetworkInstance(CreateSolNetworkInstanceRequest createSolNetworkInstanceRequest) { ExecutionContext executionContext = createExecutionContext(createSolNetworkInstanceRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Creates a network package. *
** A network package is a .zip file in CSAR (Cloud Service Archive) format defines the function packages you want to * deploy and the Amazon Web Services infrastructure you want to deploy them on. For more information, see Network instances in the Amazon * Web Services Telco Network Builder User Guide. *
** A network package consists of a network service descriptor (NSD) file (required) and any additional files * (optional), such as scripts specific to your needs. For example, if you have multiple function packages in your * network package, you can use the NSD to define which network functions should run in certain VPCs, subnets, or * EKS clusters. *
** This request creates an empty network package container with an ID. Once you create a network package, you can * upload the network package content using PutSolNetworkPackageContent. *
* * @param createSolNetworkPackageRequest * @return Result of the CreateSolNetworkPackage operation returned by the service. * @throws InternalServerException * Unexpected error occurred. Problem on the server. * @throws ServiceQuotaExceededException * Service quotas have been exceeded. * @throws ThrottlingException * Exception caused by throttling. * @throws ValidationException * Unable to process the request because the client provided input failed to satisfy request constraints. * @throws AccessDeniedException * Insufficient permissions to make request. * @sample AWSTnb.CreateSolNetworkPackage * @see AWS * API Documentation */ @Override public CreateSolNetworkPackageResult createSolNetworkPackage(CreateSolNetworkPackageRequest request) { request = beforeClientExecution(request); return executeCreateSolNetworkPackage(request); } @SdkInternalApi final CreateSolNetworkPackageResult executeCreateSolNetworkPackage(CreateSolNetworkPackageRequest createSolNetworkPackageRequest) { ExecutionContext executionContext = createExecutionContext(createSolNetworkPackageRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes a function package. *
** A function package is a .zip file in CSAR (Cloud Service Archive) format that contains a network function (an * ETSI standard telecommunication application) and function package descriptor that uses the TOSCA standard to * describe how the network functions should run on your network. *
** To delete a function package, the package must be in a disabled state. To disable a function package, see UpdateSolFunctionPackage * . *
* * @param deleteSolFunctionPackageRequest * @return Result of the DeleteSolFunctionPackage operation returned by the service. * @throws InternalServerException * Unexpected error occurred. Problem on the server. * @throws ThrottlingException * Exception caused by throttling. * @throws ValidationException * Unable to process the request because the client provided input failed to satisfy request constraints. * @throws ResourceNotFoundException * Request references a resource that doesn't exist. * @throws AccessDeniedException * Insufficient permissions to make request. * @sample AWSTnb.DeleteSolFunctionPackage * @see AWS * API Documentation */ @Override public DeleteSolFunctionPackageResult deleteSolFunctionPackage(DeleteSolFunctionPackageRequest request) { request = beforeClientExecution(request); return executeDeleteSolFunctionPackage(request); } @SdkInternalApi final DeleteSolFunctionPackageResult executeDeleteSolFunctionPackage(DeleteSolFunctionPackageRequest deleteSolFunctionPackageRequest) { ExecutionContext executionContext = createExecutionContext(deleteSolFunctionPackageRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes a network instance. *
** A network instance is a single network created in Amazon Web Services TNB that can be deployed and on which * life-cycle operations (like terminate, update, and delete) can be performed. *
** To delete a network instance, the instance must be in a stopped or terminated state. To terminate a network * instance, see * TerminateSolNetworkInstance. *
* * @param deleteSolNetworkInstanceRequest * @return Result of the DeleteSolNetworkInstance operation returned by the service. * @throws InternalServerException * Unexpected error occurred. Problem on the server. * @throws ThrottlingException * Exception caused by throttling. * @throws ValidationException * Unable to process the request because the client provided input failed to satisfy request constraints. * @throws ResourceNotFoundException * Request references a resource that doesn't exist. * @throws AccessDeniedException * Insufficient permissions to make request. * @sample AWSTnb.DeleteSolNetworkInstance * @see AWS * API Documentation */ @Override public DeleteSolNetworkInstanceResult deleteSolNetworkInstance(DeleteSolNetworkInstanceRequest request) { request = beforeClientExecution(request); return executeDeleteSolNetworkInstance(request); } @SdkInternalApi final DeleteSolNetworkInstanceResult executeDeleteSolNetworkInstance(DeleteSolNetworkInstanceRequest deleteSolNetworkInstanceRequest) { ExecutionContext executionContext = createExecutionContext(deleteSolNetworkInstanceRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes network package. *
** A network package is a .zip file in CSAR (Cloud Service Archive) format defines the function packages you want to * deploy and the Amazon Web Services infrastructure you want to deploy them on. *
** To delete a network package, the package must be in a disable state. To disable a network package, see UpdateSolNetworkPackage. *
* * @param deleteSolNetworkPackageRequest * @return Result of the DeleteSolNetworkPackage operation returned by the service. * @throws InternalServerException * Unexpected error occurred. Problem on the server. * @throws ThrottlingException * Exception caused by throttling. * @throws ValidationException * Unable to process the request because the client provided input failed to satisfy request constraints. * @throws ResourceNotFoundException * Request references a resource that doesn't exist. * @throws AccessDeniedException * Insufficient permissions to make request. * @sample AWSTnb.DeleteSolNetworkPackage * @see AWS * API Documentation */ @Override public DeleteSolNetworkPackageResult deleteSolNetworkPackage(DeleteSolNetworkPackageRequest request) { request = beforeClientExecution(request); return executeDeleteSolNetworkPackage(request); } @SdkInternalApi final DeleteSolNetworkPackageResult executeDeleteSolNetworkPackage(DeleteSolNetworkPackageRequest deleteSolNetworkPackageRequest) { ExecutionContext executionContext = createExecutionContext(deleteSolNetworkPackageRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets the details of a network function instance, including the instantation state and metadata from the function * package descriptor in the network function package. *
** A network function instance is a function in a function package . *
* * @param getSolFunctionInstanceRequest * @return Result of the GetSolFunctionInstance operation returned by the service. * @throws InternalServerException * Unexpected error occurred. Problem on the server. * @throws ThrottlingException * Exception caused by throttling. * @throws ValidationException * Unable to process the request because the client provided input failed to satisfy request constraints. * @throws ResourceNotFoundException * Request references a resource that doesn't exist. * @throws AccessDeniedException * Insufficient permissions to make request. * @sample AWSTnb.GetSolFunctionInstance * @see AWS API * Documentation */ @Override public GetSolFunctionInstanceResult getSolFunctionInstance(GetSolFunctionInstanceRequest request) { request = beforeClientExecution(request); return executeGetSolFunctionInstance(request); } @SdkInternalApi final GetSolFunctionInstanceResult executeGetSolFunctionInstance(GetSolFunctionInstanceRequest getSolFunctionInstanceRequest) { ExecutionContext executionContext = createExecutionContext(getSolFunctionInstanceRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets the details of an individual function package, such as the operational state and whether the package is in * use. *
** A function package is a .zip file in CSAR (Cloud Service Archive) format that contains a network function (an * ETSI standard telecommunication application) and function package descriptor that uses the TOSCA standard to * describe how the network functions should run on your network.. *
* * @param getSolFunctionPackageRequest * @return Result of the GetSolFunctionPackage operation returned by the service. * @throws InternalServerException * Unexpected error occurred. Problem on the server. * @throws ThrottlingException * Exception caused by throttling. * @throws ValidationException * Unable to process the request because the client provided input failed to satisfy request constraints. * @throws ResourceNotFoundException * Request references a resource that doesn't exist. * @throws AccessDeniedException * Insufficient permissions to make request. * @sample AWSTnb.GetSolFunctionPackage * @see AWS API * Documentation */ @Override public GetSolFunctionPackageResult getSolFunctionPackage(GetSolFunctionPackageRequest request) { request = beforeClientExecution(request); return executeGetSolFunctionPackage(request); } @SdkInternalApi final GetSolFunctionPackageResult executeGetSolFunctionPackage(GetSolFunctionPackageRequest getSolFunctionPackageRequest) { ExecutionContext executionContext = createExecutionContext(getSolFunctionPackageRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets the contents of a function package. *
** A function package is a .zip file in CSAR (Cloud Service Archive) format that contains a network function (an * ETSI standard telecommunication application) and function package descriptor that uses the TOSCA standard to * describe how the network functions should run on your network. *
* * @param getSolFunctionPackageContentRequest * @return Result of the GetSolFunctionPackageContent operation returned by the service. * @throws InternalServerException * Unexpected error occurred. Problem on the server. * @throws ThrottlingException * Exception caused by throttling. * @throws ValidationException * Unable to process the request because the client provided input failed to satisfy request constraints. * @throws ResourceNotFoundException * Request references a resource that doesn't exist. * @throws AccessDeniedException * Insufficient permissions to make request. * @sample AWSTnb.GetSolFunctionPackageContent * @see AWS API Documentation */ @Override public GetSolFunctionPackageContentResult getSolFunctionPackageContent(GetSolFunctionPackageContentRequest request) { request = beforeClientExecution(request); return executeGetSolFunctionPackageContent(request); } @SdkInternalApi final GetSolFunctionPackageContentResult executeGetSolFunctionPackageContent(GetSolFunctionPackageContentRequest getSolFunctionPackageContentRequest) { ExecutionContext executionContext = createExecutionContext(getSolFunctionPackageContentRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets a function package descriptor in a function package. *
** A function package descriptor is a .yaml file in a function package that uses the TOSCA standard to describe how * the network function in the function package should run on your network. *
** A function package is a .zip file in CSAR (Cloud Service Archive) format that contains a network function (an * ETSI standard telecommunication application) and function package descriptor that uses the TOSCA standard to * describe how the network functions should run on your network. *
* * @param getSolFunctionPackageDescriptorRequest * @return Result of the GetSolFunctionPackageDescriptor operation returned by the service. * @throws InternalServerException * Unexpected error occurred. Problem on the server. * @throws ThrottlingException * Exception caused by throttling. * @throws ValidationException * Unable to process the request because the client provided input failed to satisfy request constraints. * @throws ResourceNotFoundException * Request references a resource that doesn't exist. * @throws AccessDeniedException * Insufficient permissions to make request. * @sample AWSTnb.GetSolFunctionPackageDescriptor * @see AWS API Documentation */ @Override public GetSolFunctionPackageDescriptorResult getSolFunctionPackageDescriptor(GetSolFunctionPackageDescriptorRequest request) { request = beforeClientExecution(request); return executeGetSolFunctionPackageDescriptor(request); } @SdkInternalApi final GetSolFunctionPackageDescriptorResult executeGetSolFunctionPackageDescriptor( GetSolFunctionPackageDescriptorRequest getSolFunctionPackageDescriptorRequest) { ExecutionContext executionContext = createExecutionContext(getSolFunctionPackageDescriptorRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets the details of the network instance. *
** A network instance is a single network created in Amazon Web Services TNB that can be deployed and on which * life-cycle operations (like terminate, update, and delete) can be performed. *
* * @param getSolNetworkInstanceRequest * @return Result of the GetSolNetworkInstance operation returned by the service. * @throws InternalServerException * Unexpected error occurred. Problem on the server. * @throws ThrottlingException * Exception caused by throttling. * @throws ValidationException * Unable to process the request because the client provided input failed to satisfy request constraints. * @throws ResourceNotFoundException * Request references a resource that doesn't exist. * @throws AccessDeniedException * Insufficient permissions to make request. * @sample AWSTnb.GetSolNetworkInstance * @see AWS API * Documentation */ @Override public GetSolNetworkInstanceResult getSolNetworkInstance(GetSolNetworkInstanceRequest request) { request = beforeClientExecution(request); return executeGetSolNetworkInstance(request); } @SdkInternalApi final GetSolNetworkInstanceResult executeGetSolNetworkInstance(GetSolNetworkInstanceRequest getSolNetworkInstanceRequest) { ExecutionContext executionContext = createExecutionContext(getSolNetworkInstanceRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets the details of a network operation, including the tasks involved in the network operation and the status of * the tasks. *
** A network operation is any operation that is done to your network, such as network instance instantiation or * termination. *
* * @param getSolNetworkOperationRequest * @return Result of the GetSolNetworkOperation operation returned by the service. * @throws InternalServerException * Unexpected error occurred. Problem on the server. * @throws ThrottlingException * Exception caused by throttling. * @throws ValidationException * Unable to process the request because the client provided input failed to satisfy request constraints. * @throws ResourceNotFoundException * Request references a resource that doesn't exist. * @throws AccessDeniedException * Insufficient permissions to make request. * @sample AWSTnb.GetSolNetworkOperation * @see AWS API * Documentation */ @Override public GetSolNetworkOperationResult getSolNetworkOperation(GetSolNetworkOperationRequest request) { request = beforeClientExecution(request); return executeGetSolNetworkOperation(request); } @SdkInternalApi final GetSolNetworkOperationResult executeGetSolNetworkOperation(GetSolNetworkOperationRequest getSolNetworkOperationRequest) { ExecutionContext executionContext = createExecutionContext(getSolNetworkOperationRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets the details of a network package. *
** A network package is a .zip file in CSAR (Cloud Service Archive) format defines the function packages you want to * deploy and the Amazon Web Services infrastructure you want to deploy them on. *
* * @param getSolNetworkPackageRequest * @return Result of the GetSolNetworkPackage operation returned by the service. * @throws InternalServerException * Unexpected error occurred. Problem on the server. * @throws ThrottlingException * Exception caused by throttling. * @throws ValidationException * Unable to process the request because the client provided input failed to satisfy request constraints. * @throws ResourceNotFoundException * Request references a resource that doesn't exist. * @throws AccessDeniedException * Insufficient permissions to make request. * @sample AWSTnb.GetSolNetworkPackage * @see AWS API * Documentation */ @Override public GetSolNetworkPackageResult getSolNetworkPackage(GetSolNetworkPackageRequest request) { request = beforeClientExecution(request); return executeGetSolNetworkPackage(request); } @SdkInternalApi final GetSolNetworkPackageResult executeGetSolNetworkPackage(GetSolNetworkPackageRequest getSolNetworkPackageRequest) { ExecutionContext executionContext = createExecutionContext(getSolNetworkPackageRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets the contents of a network package. *
** A network package is a .zip file in CSAR (Cloud Service Archive) format defines the function packages you want to * deploy and the Amazon Web Services infrastructure you want to deploy them on. *
* * @param getSolNetworkPackageContentRequest * @return Result of the GetSolNetworkPackageContent operation returned by the service. * @throws InternalServerException * Unexpected error occurred. Problem on the server. * @throws ThrottlingException * Exception caused by throttling. * @throws ValidationException * Unable to process the request because the client provided input failed to satisfy request constraints. * @throws ResourceNotFoundException * Request references a resource that doesn't exist. * @throws AccessDeniedException * Insufficient permissions to make request. * @sample AWSTnb.GetSolNetworkPackageContent * @see AWS API Documentation */ @Override public GetSolNetworkPackageContentResult getSolNetworkPackageContent(GetSolNetworkPackageContentRequest request) { request = beforeClientExecution(request); return executeGetSolNetworkPackageContent(request); } @SdkInternalApi final GetSolNetworkPackageContentResult executeGetSolNetworkPackageContent(GetSolNetworkPackageContentRequest getSolNetworkPackageContentRequest) { ExecutionContext executionContext = createExecutionContext(getSolNetworkPackageContentRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Gets the content of the network service descriptor. *
** A network service descriptor is a .yaml file in a network package that uses the TOSCA standard to describe the * network functions you want to deploy and the Amazon Web Services infrastructure you want to deploy the network * functions on. *
* * @param getSolNetworkPackageDescriptorRequest * @return Result of the GetSolNetworkPackageDescriptor operation returned by the service. * @throws InternalServerException * Unexpected error occurred. Problem on the server. * @throws ThrottlingException * Exception caused by throttling. * @throws ValidationException * Unable to process the request because the client provided input failed to satisfy request constraints. * @throws ResourceNotFoundException * Request references a resource that doesn't exist. * @throws AccessDeniedException * Insufficient permissions to make request. * @sample AWSTnb.GetSolNetworkPackageDescriptor * @see AWS API Documentation */ @Override public GetSolNetworkPackageDescriptorResult getSolNetworkPackageDescriptor(GetSolNetworkPackageDescriptorRequest request) { request = beforeClientExecution(request); return executeGetSolNetworkPackageDescriptor(request); } @SdkInternalApi final GetSolNetworkPackageDescriptorResult executeGetSolNetworkPackageDescriptor(GetSolNetworkPackageDescriptorRequest getSolNetworkPackageDescriptorRequest) { ExecutionContext executionContext = createExecutionContext(getSolNetworkPackageDescriptorRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Instantiates a network instance. *
** A network instance is a single network created in Amazon Web Services TNB that can be deployed and on which * life-cycle operations (like terminate, update, and delete) can be performed. *
** Before you can instantiate a network instance, you have to create a network instance. For more information, see * * CreateSolNetworkInstance. *
* * @param instantiateSolNetworkInstanceRequest * @return Result of the InstantiateSolNetworkInstance operation returned by the service. * @throws InternalServerException * Unexpected error occurred. Problem on the server. * @throws ServiceQuotaExceededException * Service quotas have been exceeded. * @throws ThrottlingException * Exception caused by throttling. * @throws ValidationException * Unable to process the request because the client provided input failed to satisfy request constraints. * @throws ResourceNotFoundException * Request references a resource that doesn't exist. * @throws AccessDeniedException * Insufficient permissions to make request. * @sample AWSTnb.InstantiateSolNetworkInstance * @see AWS API Documentation */ @Override public InstantiateSolNetworkInstanceResult instantiateSolNetworkInstance(InstantiateSolNetworkInstanceRequest request) { request = beforeClientExecution(request); return executeInstantiateSolNetworkInstance(request); } @SdkInternalApi final InstantiateSolNetworkInstanceResult executeInstantiateSolNetworkInstance(InstantiateSolNetworkInstanceRequest instantiateSolNetworkInstanceRequest) { ExecutionContext executionContext = createExecutionContext(instantiateSolNetworkInstanceRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Lists network function instances. *
** A network function instance is a function in a function package . *
* * @param listSolFunctionInstancesRequest * @return Result of the ListSolFunctionInstances operation returned by the service. * @throws InternalServerException * Unexpected error occurred. Problem on the server. * @throws ThrottlingException * Exception caused by throttling. * @throws ValidationException * Unable to process the request because the client provided input failed to satisfy request constraints. * @throws AccessDeniedException * Insufficient permissions to make request. * @sample AWSTnb.ListSolFunctionInstances * @see AWS * API Documentation */ @Override public ListSolFunctionInstancesResult listSolFunctionInstances(ListSolFunctionInstancesRequest request) { request = beforeClientExecution(request); return executeListSolFunctionInstances(request); } @SdkInternalApi final ListSolFunctionInstancesResult executeListSolFunctionInstances(ListSolFunctionInstancesRequest listSolFunctionInstancesRequest) { ExecutionContext executionContext = createExecutionContext(listSolFunctionInstancesRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Lists information about function packages. *
** A function package is a .zip file in CSAR (Cloud Service Archive) format that contains a network function (an * ETSI standard telecommunication application) and function package descriptor that uses the TOSCA standard to * describe how the network functions should run on your network. *
* * @param listSolFunctionPackagesRequest * @return Result of the ListSolFunctionPackages operation returned by the service. * @throws InternalServerException * Unexpected error occurred. Problem on the server. * @throws ThrottlingException * Exception caused by throttling. * @throws ValidationException * Unable to process the request because the client provided input failed to satisfy request constraints. * @throws AccessDeniedException * Insufficient permissions to make request. * @sample AWSTnb.ListSolFunctionPackages * @see AWS * API Documentation */ @Override public ListSolFunctionPackagesResult listSolFunctionPackages(ListSolFunctionPackagesRequest request) { request = beforeClientExecution(request); return executeListSolFunctionPackages(request); } @SdkInternalApi final ListSolFunctionPackagesResult executeListSolFunctionPackages(ListSolFunctionPackagesRequest listSolFunctionPackagesRequest) { ExecutionContext executionContext = createExecutionContext(listSolFunctionPackagesRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Lists your network instances. *
** A network instance is a single network created in Amazon Web Services TNB that can be deployed and on which * life-cycle operations (like terminate, update, and delete) can be performed. *
* * @param listSolNetworkInstancesRequest * @return Result of the ListSolNetworkInstances operation returned by the service. * @throws InternalServerException * Unexpected error occurred. Problem on the server. * @throws ThrottlingException * Exception caused by throttling. * @throws ValidationException * Unable to process the request because the client provided input failed to satisfy request constraints. * @throws AccessDeniedException * Insufficient permissions to make request. * @sample AWSTnb.ListSolNetworkInstances * @see AWS * API Documentation */ @Override public ListSolNetworkInstancesResult listSolNetworkInstances(ListSolNetworkInstancesRequest request) { request = beforeClientExecution(request); return executeListSolNetworkInstances(request); } @SdkInternalApi final ListSolNetworkInstancesResult executeListSolNetworkInstances(ListSolNetworkInstancesRequest listSolNetworkInstancesRequest) { ExecutionContext executionContext = createExecutionContext(listSolNetworkInstancesRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Lists details for a network operation, including when the operation started and the status of the operation. *
** A network operation is any operation that is done to your network, such as network instance instantiation or * termination. *
* * @param listSolNetworkOperationsRequest * @return Result of the ListSolNetworkOperations operation returned by the service. * @throws InternalServerException * Unexpected error occurred. Problem on the server. * @throws ThrottlingException * Exception caused by throttling. * @throws ValidationException * Unable to process the request because the client provided input failed to satisfy request constraints. * @throws AccessDeniedException * Insufficient permissions to make request. * @sample AWSTnb.ListSolNetworkOperations * @see AWS * API Documentation */ @Override public ListSolNetworkOperationsResult listSolNetworkOperations(ListSolNetworkOperationsRequest request) { request = beforeClientExecution(request); return executeListSolNetworkOperations(request); } @SdkInternalApi final ListSolNetworkOperationsResult executeListSolNetworkOperations(ListSolNetworkOperationsRequest listSolNetworkOperationsRequest) { ExecutionContext executionContext = createExecutionContext(listSolNetworkOperationsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Lists network packages. *
** A network package is a .zip file in CSAR (Cloud Service Archive) format defines the function packages you want to * deploy and the Amazon Web Services infrastructure you want to deploy them on. *
* * @param listSolNetworkPackagesRequest * @return Result of the ListSolNetworkPackages operation returned by the service. * @throws InternalServerException * Unexpected error occurred. Problem on the server. * @throws ThrottlingException * Exception caused by throttling. * @throws ValidationException * Unable to process the request because the client provided input failed to satisfy request constraints. * @throws AccessDeniedException * Insufficient permissions to make request. * @sample AWSTnb.ListSolNetworkPackages * @see AWS API * Documentation */ @Override public ListSolNetworkPackagesResult listSolNetworkPackages(ListSolNetworkPackagesRequest request) { request = beforeClientExecution(request); return executeListSolNetworkPackages(request); } @SdkInternalApi final ListSolNetworkPackagesResult executeListSolNetworkPackages(ListSolNetworkPackagesRequest listSolNetworkPackagesRequest) { ExecutionContext executionContext = createExecutionContext(listSolNetworkPackagesRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Lists tags for AWS TNB resources. *
* * @param listTagsForResourceRequest * @return Result of the ListTagsForResource operation returned by the service. * @throws InternalServerException * Unexpected error occurred. Problem on the server. * @throws ThrottlingException * Exception caused by throttling. * @throws ValidationException * Unable to process the request because the client provided input failed to satisfy request constraints. * @throws ResourceNotFoundException * Request references a resource that doesn't exist. * @throws AccessDeniedException * Insufficient permissions to make request. * @sample AWSTnb.ListTagsForResource * @see AWS API * Documentation */ @Override public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request) { request = beforeClientExecution(request); return executeListTagsForResource(request); } @SdkInternalApi final ListTagsForResourceResult executeListTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) { ExecutionContext executionContext = createExecutionContext(listTagsForResourceRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Uploads the contents of a function package. *
** A function package is a .zip file in CSAR (Cloud Service Archive) format that contains a network function (an * ETSI standard telecommunication application) and function package descriptor that uses the TOSCA standard to * describe how the network functions should run on your network. *
* * @param putSolFunctionPackageContentRequest * @return Result of the PutSolFunctionPackageContent operation returned by the service. * @throws InternalServerException * Unexpected error occurred. Problem on the server. * @throws ThrottlingException * Exception caused by throttling. * @throws ValidationException * Unable to process the request because the client provided input failed to satisfy request constraints. * @throws ResourceNotFoundException * Request references a resource that doesn't exist. * @throws AccessDeniedException * Insufficient permissions to make request. * @sample AWSTnb.PutSolFunctionPackageContent * @see AWS API Documentation */ @Override public PutSolFunctionPackageContentResult putSolFunctionPackageContent(PutSolFunctionPackageContentRequest request) { request = beforeClientExecution(request); return executePutSolFunctionPackageContent(request); } @SdkInternalApi final PutSolFunctionPackageContentResult executePutSolFunctionPackageContent(PutSolFunctionPackageContentRequest putSolFunctionPackageContentRequest) { ExecutionContext executionContext = createExecutionContext(putSolFunctionPackageContentRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Uploads the contents of a network package. *
** A network package is a .zip file in CSAR (Cloud Service Archive) format defines the function packages you want to * deploy and the Amazon Web Services infrastructure you want to deploy them on. *
* * @param putSolNetworkPackageContentRequest * @return Result of the PutSolNetworkPackageContent operation returned by the service. * @throws InternalServerException * Unexpected error occurred. Problem on the server. * @throws ThrottlingException * Exception caused by throttling. * @throws ValidationException * Unable to process the request because the client provided input failed to satisfy request constraints. * @throws ResourceNotFoundException * Request references a resource that doesn't exist. * @throws AccessDeniedException * Insufficient permissions to make request. * @sample AWSTnb.PutSolNetworkPackageContent * @see AWS API Documentation */ @Override public PutSolNetworkPackageContentResult putSolNetworkPackageContent(PutSolNetworkPackageContentRequest request) { request = beforeClientExecution(request); return executePutSolNetworkPackageContent(request); } @SdkInternalApi final PutSolNetworkPackageContentResult executePutSolNetworkPackageContent(PutSolNetworkPackageContentRequest putSolNetworkPackageContentRequest) { ExecutionContext executionContext = createExecutionContext(putSolNetworkPackageContentRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Tags an AWS TNB resource. *
** A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional * value. You can use tags to search and filter your resources or track your Amazon Web Services costs. *
* * @param tagResourceRequest * @return Result of the TagResource operation returned by the service. * @throws InternalServerException * Unexpected error occurred. Problem on the server. * @throws ThrottlingException * Exception caused by throttling. * @throws ValidationException * Unable to process the request because the client provided input failed to satisfy request constraints. * @throws ResourceNotFoundException * Request references a resource that doesn't exist. * @throws AccessDeniedException * Insufficient permissions to make request. * @sample AWSTnb.TagResource * @see AWS API * Documentation */ @Override public TagResourceResult tagResource(TagResourceRequest request) { request = beforeClientExecution(request); return executeTagResource(request); } @SdkInternalApi final TagResourceResult executeTagResource(TagResourceRequest tagResourceRequest) { ExecutionContext executionContext = createExecutionContext(tagResourceRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Terminates a network instance. *
** A network instance is a single network created in Amazon Web Services TNB that can be deployed and on which * life-cycle operations (like terminate, update, and delete) can be performed. *
** You must terminate a network instance before you can delete it. *
* * @param terminateSolNetworkInstanceRequest * @return Result of the TerminateSolNetworkInstance operation returned by the service. * @throws InternalServerException * Unexpected error occurred. Problem on the server. * @throws ServiceQuotaExceededException * Service quotas have been exceeded. * @throws ThrottlingException * Exception caused by throttling. * @throws ValidationException * Unable to process the request because the client provided input failed to satisfy request constraints. * @throws ResourceNotFoundException * Request references a resource that doesn't exist. * @throws AccessDeniedException * Insufficient permissions to make request. * @sample AWSTnb.TerminateSolNetworkInstance * @see AWS API Documentation */ @Override public TerminateSolNetworkInstanceResult terminateSolNetworkInstance(TerminateSolNetworkInstanceRequest request) { request = beforeClientExecution(request); return executeTerminateSolNetworkInstance(request); } @SdkInternalApi final TerminateSolNetworkInstanceResult executeTerminateSolNetworkInstance(TerminateSolNetworkInstanceRequest terminateSolNetworkInstanceRequest) { ExecutionContext executionContext = createExecutionContext(terminateSolNetworkInstanceRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Untags an AWS TNB resource. *
** A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional * value. You can use tags to search and filter your resources or track your Amazon Web Services costs. *
* * @param untagResourceRequest * @return Result of the UntagResource operation returned by the service. * @throws InternalServerException * Unexpected error occurred. Problem on the server. * @throws ThrottlingException * Exception caused by throttling. * @throws ValidationException * Unable to process the request because the client provided input failed to satisfy request constraints. * @throws ResourceNotFoundException * Request references a resource that doesn't exist. * @throws AccessDeniedException * Insufficient permissions to make request. * @sample AWSTnb.UntagResource * @see AWS API * Documentation */ @Override public UntagResourceResult untagResource(UntagResourceRequest request) { request = beforeClientExecution(request); return executeUntagResource(request); } @SdkInternalApi final UntagResourceResult executeUntagResource(UntagResourceRequest untagResourceRequest) { ExecutionContext executionContext = createExecutionContext(untagResourceRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Updates the operational state of function package. *
** A function package is a .zip file in CSAR (Cloud Service Archive) format that contains a network function (an * ETSI standard telecommunication application) and function package descriptor that uses the TOSCA standard to * describe how the network functions should run on your network. *
* * @param updateSolFunctionPackageRequest * @return Result of the UpdateSolFunctionPackage operation returned by the service. * @throws InternalServerException * Unexpected error occurred. Problem on the server. * @throws ThrottlingException * Exception caused by throttling. * @throws ValidationException * Unable to process the request because the client provided input failed to satisfy request constraints. * @throws ResourceNotFoundException * Request references a resource that doesn't exist. * @throws AccessDeniedException * Insufficient permissions to make request. * @sample AWSTnb.UpdateSolFunctionPackage * @see AWS * API Documentation */ @Override public UpdateSolFunctionPackageResult updateSolFunctionPackage(UpdateSolFunctionPackageRequest request) { request = beforeClientExecution(request); return executeUpdateSolFunctionPackage(request); } @SdkInternalApi final UpdateSolFunctionPackageResult executeUpdateSolFunctionPackage(UpdateSolFunctionPackageRequest updateSolFunctionPackageRequest) { ExecutionContext executionContext = createExecutionContext(updateSolFunctionPackageRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Update a network instance. *
** A network instance is a single network created in Amazon Web Services TNB that can be deployed and on which * life-cycle operations (like terminate, update, and delete) can be performed. *
* * @param updateSolNetworkInstanceRequest * @return Result of the UpdateSolNetworkInstance operation returned by the service. * @throws InternalServerException * Unexpected error occurred. Problem on the server. * @throws ServiceQuotaExceededException * Service quotas have been exceeded. * @throws ThrottlingException * Exception caused by throttling. * @throws ValidationException * Unable to process the request because the client provided input failed to satisfy request constraints. * @throws ResourceNotFoundException * Request references a resource that doesn't exist. * @throws AccessDeniedException * Insufficient permissions to make request. * @sample AWSTnb.UpdateSolNetworkInstance * @see AWS * API Documentation */ @Override public UpdateSolNetworkInstanceResult updateSolNetworkInstance(UpdateSolNetworkInstanceRequest request) { request = beforeClientExecution(request); return executeUpdateSolNetworkInstance(request); } @SdkInternalApi final UpdateSolNetworkInstanceResult executeUpdateSolNetworkInstance(UpdateSolNetworkInstanceRequest updateSolNetworkInstanceRequest) { ExecutionContext executionContext = createExecutionContext(updateSolNetworkInstanceRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Updates the operational state of a network package. *
** A network package is a .zip file in CSAR (Cloud Service Archive) format defines the function packages you want to * deploy and the Amazon Web Services infrastructure you want to deploy them on. *
** A network service descriptor is a .yaml file in a network package that uses the TOSCA standard to describe the * network functions you want to deploy and the Amazon Web Services infrastructure you want to deploy the network * functions on. *
* * @param updateSolNetworkPackageRequest * @return Result of the UpdateSolNetworkPackage operation returned by the service. * @throws InternalServerException * Unexpected error occurred. Problem on the server. * @throws ThrottlingException * Exception caused by throttling. * @throws ValidationException * Unable to process the request because the client provided input failed to satisfy request constraints. * @throws ResourceNotFoundException * Request references a resource that doesn't exist. * @throws AccessDeniedException * Insufficient permissions to make request. * @sample AWSTnb.UpdateSolNetworkPackage * @see AWS * API Documentation */ @Override public UpdateSolNetworkPackageResult updateSolNetworkPackage(UpdateSolNetworkPackageRequest request) { request = beforeClientExecution(request); return executeUpdateSolNetworkPackage(request); } @SdkInternalApi final UpdateSolNetworkPackageResult executeUpdateSolNetworkPackage(UpdateSolNetworkPackageRequest updateSolNetworkPackageRequest) { ExecutionContext executionContext = createExecutionContext(updateSolNetworkPackageRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Validates function package content. This can be used as a dry run before uploading function package content with * * PutSolFunctionPackageContent. *
** A function package is a .zip file in CSAR (Cloud Service Archive) format that contains a network function (an * ETSI standard telecommunication application) and function package descriptor that uses the TOSCA standard to * describe how the network functions should run on your network. *
* * @param validateSolFunctionPackageContentRequest * @return Result of the ValidateSolFunctionPackageContent operation returned by the service. * @throws InternalServerException * Unexpected error occurred. Problem on the server. * @throws ThrottlingException * Exception caused by throttling. * @throws ValidationException * Unable to process the request because the client provided input failed to satisfy request constraints. * @throws ResourceNotFoundException * Request references a resource that doesn't exist. * @throws AccessDeniedException * Insufficient permissions to make request. * @sample AWSTnb.ValidateSolFunctionPackageContent * @see AWS API Documentation */ @Override public ValidateSolFunctionPackageContentResult validateSolFunctionPackageContent(ValidateSolFunctionPackageContentRequest request) { request = beforeClientExecution(request); return executeValidateSolFunctionPackageContent(request); } @SdkInternalApi final ValidateSolFunctionPackageContentResult executeValidateSolFunctionPackageContent( ValidateSolFunctionPackageContentRequest validateSolFunctionPackageContentRequest) { ExecutionContext executionContext = createExecutionContext(validateSolFunctionPackageContentRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Validates network package content. This can be used as a dry run before uploading network package content with * PutSolNetworkPackageContent. *
** A network package is a .zip file in CSAR (Cloud Service Archive) format defines the function packages you want to * deploy and the Amazon Web Services infrastructure you want to deploy them on. *
* * @param validateSolNetworkPackageContentRequest * @return Result of the ValidateSolNetworkPackageContent operation returned by the service. * @throws InternalServerException * Unexpected error occurred. Problem on the server. * @throws ThrottlingException * Exception caused by throttling. * @throws ValidationException * Unable to process the request because the client provided input failed to satisfy request constraints. * @throws ResourceNotFoundException * Request references a resource that doesn't exist. * @throws AccessDeniedException * Insufficient permissions to make request. * @sample AWSTnb.ValidateSolNetworkPackageContent * @see AWS API Documentation */ @Override public ValidateSolNetworkPackageContentResult validateSolNetworkPackageContent(ValidateSolNetworkPackageContentRequest request) { request = beforeClientExecution(request); return executeValidateSolNetworkPackageContent(request); } @SdkInternalApi final ValidateSolNetworkPackageContentResult executeValidateSolNetworkPackageContent( ValidateSolNetworkPackageContentRequest validateSolNetworkPackageContentRequest) { ExecutionContext executionContext = createExecutionContext(validateSolNetworkPackageContentRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request
* Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic
* information for an executed request, you should use this method to retrieve it as soon as possible after
* executing the request.
*
* @param request
* The originally executed request
*
* @return The response metadata for the specified request, or null if none is available.
*/
public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request) {
return client.getResponseMetadataForRequest(request);
}
/**
* Normal invoke with authentication. Credentials are required and may be overriden at the request level.
**/
private