Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.amazonaws.services.securityhub.model.transform.ResourceDetailsMarshaller Maven / Gradle / Ivy
Go to download
The AWS Java SDK for AWS SecurityHub module holds the client classes that are used for communicating with AWS SecurityHub Service
/*
* Copyright 2019-2024 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.securityhub.model.transform;
import java.util.Map;
import javax.annotation.Generated;
import com.amazonaws.SdkClientException;
import com.amazonaws.services.securityhub.model.*;
import com.amazonaws.protocol.*;
import com.amazonaws.annotation.SdkInternalApi;
/**
* ResourceDetailsMarshaller
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
@SdkInternalApi
public class ResourceDetailsMarshaller {
private static final MarshallingInfo AWSAUTOSCALINGAUTOSCALINGGROUP_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsAutoScalingAutoScalingGroup").build();
private static final MarshallingInfo AWSCODEBUILDPROJECT_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsCodeBuildProject").build();
private static final MarshallingInfo AWSCLOUDFRONTDISTRIBUTION_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsCloudFrontDistribution").build();
private static final MarshallingInfo AWSEC2INSTANCE_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsEc2Instance").build();
private static final MarshallingInfo AWSEC2NETWORKINTERFACE_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsEc2NetworkInterface").build();
private static final MarshallingInfo AWSEC2SECURITYGROUP_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsEc2SecurityGroup").build();
private static final MarshallingInfo AWSEC2VOLUME_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsEc2Volume").build();
private static final MarshallingInfo AWSEC2VPC_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsEc2Vpc").build();
private static final MarshallingInfo AWSEC2EIP_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsEc2Eip").build();
private static final MarshallingInfo AWSEC2SUBNET_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsEc2Subnet").build();
private static final MarshallingInfo AWSEC2NETWORKACL_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsEc2NetworkAcl").build();
private static final MarshallingInfo AWSELBV2LOADBALANCER_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsElbv2LoadBalancer").build();
private static final MarshallingInfo AWSELASTICBEANSTALKENVIRONMENT_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsElasticBeanstalkEnvironment").build();
private static final MarshallingInfo AWSELASTICSEARCHDOMAIN_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsElasticsearchDomain").build();
private static final MarshallingInfo AWSS3BUCKET_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsS3Bucket").build();
private static final MarshallingInfo AWSS3ACCOUNTPUBLICACCESSBLOCK_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsS3AccountPublicAccessBlock").build();
private static final MarshallingInfo AWSS3OBJECT_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsS3Object").build();
private static final MarshallingInfo AWSSECRETSMANAGERSECRET_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsSecretsManagerSecret").build();
private static final MarshallingInfo AWSIAMACCESSKEY_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsIamAccessKey").build();
private static final MarshallingInfo AWSIAMUSER_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsIamUser").build();
private static final MarshallingInfo AWSIAMPOLICY_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsIamPolicy").build();
private static final MarshallingInfo AWSAPIGATEWAYV2STAGE_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsApiGatewayV2Stage").build();
private static final MarshallingInfo AWSAPIGATEWAYV2API_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsApiGatewayV2Api").build();
private static final MarshallingInfo AWSDYNAMODBTABLE_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsDynamoDbTable").build();
private static final MarshallingInfo AWSAPIGATEWAYSTAGE_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsApiGatewayStage").build();
private static final MarshallingInfo AWSAPIGATEWAYRESTAPI_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsApiGatewayRestApi").build();
private static final MarshallingInfo AWSCLOUDTRAILTRAIL_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsCloudTrailTrail").build();
private static final MarshallingInfo AWSSSMPATCHCOMPLIANCE_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsSsmPatchCompliance").build();
private static final MarshallingInfo AWSCERTIFICATEMANAGERCERTIFICATE_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsCertificateManagerCertificate").build();
private static final MarshallingInfo AWSREDSHIFTCLUSTER_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsRedshiftCluster").build();
private static final MarshallingInfo AWSELBLOADBALANCER_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsElbLoadBalancer").build();
private static final MarshallingInfo AWSIAMGROUP_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsIamGroup").build();
private static final MarshallingInfo AWSIAMROLE_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsIamRole").build();
private static final MarshallingInfo AWSKMSKEY_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsKmsKey").build();
private static final MarshallingInfo AWSLAMBDAFUNCTION_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsLambdaFunction").build();
private static final MarshallingInfo AWSLAMBDALAYERVERSION_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsLambdaLayerVersion").build();
private static final MarshallingInfo AWSRDSDBINSTANCE_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsRdsDbInstance").build();
private static final MarshallingInfo AWSSNSTOPIC_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsSnsTopic").build();
private static final MarshallingInfo AWSSQSQUEUE_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsSqsQueue").build();
private static final MarshallingInfo AWSWAFWEBACL_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsWafWebAcl").build();
private static final MarshallingInfo AWSRDSDBSNAPSHOT_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsRdsDbSnapshot").build();
private static final MarshallingInfo AWSRDSDBCLUSTERSNAPSHOT_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsRdsDbClusterSnapshot").build();
private static final MarshallingInfo AWSRDSDBCLUSTER_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsRdsDbCluster").build();
private static final MarshallingInfo AWSECSCLUSTER_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsEcsCluster").build();
private static final MarshallingInfo AWSECSCONTAINER_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsEcsContainer").build();
private static final MarshallingInfo AWSECSTASKDEFINITION_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsEcsTaskDefinition").build();
private static final MarshallingInfo CONTAINER_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("Container").build();
private static final MarshallingInfo OTHER_BINDING = MarshallingInfo.builder(MarshallingType.MAP).marshallLocation(MarshallLocation.PAYLOAD)
.marshallLocationName("Other").build();
private static final MarshallingInfo AWSRDSEVENTSUBSCRIPTION_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsRdsEventSubscription").build();
private static final MarshallingInfo AWSECSSERVICE_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsEcsService").build();
private static final MarshallingInfo AWSAUTOSCALINGLAUNCHCONFIGURATION_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsAutoScalingLaunchConfiguration").build();
private static final MarshallingInfo AWSEC2VPNCONNECTION_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsEc2VpnConnection").build();
private static final MarshallingInfo AWSECRCONTAINERIMAGE_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsEcrContainerImage").build();
private static final MarshallingInfo AWSOPENSEARCHSERVICEDOMAIN_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsOpenSearchServiceDomain").build();
private static final MarshallingInfo AWSEC2VPCENDPOINTSERVICE_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsEc2VpcEndpointService").build();
private static final MarshallingInfo AWSXRAYENCRYPTIONCONFIG_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsXrayEncryptionConfig").build();
private static final MarshallingInfo AWSWAFRATEBASEDRULE_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsWafRateBasedRule").build();
private static final MarshallingInfo AWSWAFREGIONALRATEBASEDRULE_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsWafRegionalRateBasedRule").build();
private static final MarshallingInfo AWSECRREPOSITORY_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsEcrRepository").build();
private static final MarshallingInfo AWSEKSCLUSTER_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsEksCluster").build();
private static final MarshallingInfo AWSNETWORKFIREWALLFIREWALLPOLICY_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsNetworkFirewallFirewallPolicy").build();
private static final MarshallingInfo AWSNETWORKFIREWALLFIREWALL_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsNetworkFirewallFirewall").build();
private static final MarshallingInfo AWSNETWORKFIREWALLRULEGROUP_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsNetworkFirewallRuleGroup").build();
private static final MarshallingInfo AWSRDSDBSECURITYGROUP_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsRdsDbSecurityGroup").build();
private static final MarshallingInfo AWSKINESISSTREAM_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsKinesisStream").build();
private static final MarshallingInfo AWSEC2TRANSITGATEWAY_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsEc2TransitGateway").build();
private static final MarshallingInfo AWSEFSACCESSPOINT_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsEfsAccessPoint").build();
private static final MarshallingInfo AWSCLOUDFORMATIONSTACK_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsCloudFormationStack").build();
private static final MarshallingInfo AWSCLOUDWATCHALARM_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsCloudWatchAlarm").build();
private static final MarshallingInfo AWSEC2VPCPEERINGCONNECTION_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsEc2VpcPeeringConnection").build();
private static final MarshallingInfo AWSWAFREGIONALRULEGROUP_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsWafRegionalRuleGroup").build();
private static final MarshallingInfo AWSWAFREGIONALRULE_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsWafRegionalRule").build();
private static final MarshallingInfo AWSWAFREGIONALWEBACL_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsWafRegionalWebAcl").build();
private static final MarshallingInfo AWSWAFRULE_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsWafRule").build();
private static final MarshallingInfo AWSWAFRULEGROUP_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsWafRuleGroup").build();
private static final MarshallingInfo AWSECSTASK_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsEcsTask").build();
private static final MarshallingInfo AWSBACKUPBACKUPVAULT_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsBackupBackupVault").build();
private static final MarshallingInfo AWSBACKUPBACKUPPLAN_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsBackupBackupPlan").build();
private static final MarshallingInfo AWSBACKUPRECOVERYPOINT_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsBackupRecoveryPoint").build();
private static final MarshallingInfo AWSEC2LAUNCHTEMPLATE_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsEc2LaunchTemplate").build();
private static final MarshallingInfo AWSSAGEMAKERNOTEBOOKINSTANCE_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsSageMakerNotebookInstance").build();
private static final MarshallingInfo AWSWAFV2WEBACL_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsWafv2WebAcl").build();
private static final MarshallingInfo AWSWAFV2RULEGROUP_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsWafv2RuleGroup").build();
private static final MarshallingInfo AWSEC2ROUTETABLE_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsEc2RouteTable").build();
private static final MarshallingInfo AWSAMAZONMQBROKER_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsAmazonMqBroker").build();
private static final MarshallingInfo AWSAPPSYNCGRAPHQLAPI_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsAppSyncGraphQlApi").build();
private static final MarshallingInfo AWSEVENTSCHEMASREGISTRY_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsEventSchemasRegistry").build();
private static final MarshallingInfo AWSGUARDDUTYDETECTOR_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsGuardDutyDetector").build();
private static final MarshallingInfo AWSSTEPFUNCTIONSTATEMACHINE_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsStepFunctionStateMachine").build();
private static final MarshallingInfo AWSATHENAWORKGROUP_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsAthenaWorkGroup").build();
private static final MarshallingInfo AWSEVENTSEVENTBUS_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsEventsEventbus").build();
private static final MarshallingInfo AWSDMSENDPOINT_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsDmsEndpoint").build();
private static final MarshallingInfo AWSEVENTSENDPOINT_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsEventsEndpoint").build();
private static final MarshallingInfo AWSDMSREPLICATIONTASK_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsDmsReplicationTask").build();
private static final MarshallingInfo AWSDMSREPLICATIONINSTANCE_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsDmsReplicationInstance").build();
private static final MarshallingInfo AWSROUTE53HOSTEDZONE_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsRoute53HostedZone").build();
private static final MarshallingInfo AWSMSKCLUSTER_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsMskCluster").build();
private static final MarshallingInfo AWSS3ACCESSPOINT_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsS3AccessPoint").build();
private static final MarshallingInfo AWSEC2CLIENTVPNENDPOINT_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("AwsEc2ClientVpnEndpoint").build();
private static final ResourceDetailsMarshaller instance = new ResourceDetailsMarshaller();
public static ResourceDetailsMarshaller getInstance() {
return instance;
}
/**
* Marshall the given parameter object.
*/
public void marshall(ResourceDetails resourceDetails, ProtocolMarshaller protocolMarshaller) {
if (resourceDetails == null) {
throw new SdkClientException("Invalid argument passed to marshall(...)");
}
try {
protocolMarshaller.marshall(resourceDetails.getAwsAutoScalingAutoScalingGroup(), AWSAUTOSCALINGAUTOSCALINGGROUP_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsCodeBuildProject(), AWSCODEBUILDPROJECT_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsCloudFrontDistribution(), AWSCLOUDFRONTDISTRIBUTION_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsEc2Instance(), AWSEC2INSTANCE_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsEc2NetworkInterface(), AWSEC2NETWORKINTERFACE_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsEc2SecurityGroup(), AWSEC2SECURITYGROUP_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsEc2Volume(), AWSEC2VOLUME_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsEc2Vpc(), AWSEC2VPC_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsEc2Eip(), AWSEC2EIP_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsEc2Subnet(), AWSEC2SUBNET_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsEc2NetworkAcl(), AWSEC2NETWORKACL_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsElbv2LoadBalancer(), AWSELBV2LOADBALANCER_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsElasticBeanstalkEnvironment(), AWSELASTICBEANSTALKENVIRONMENT_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsElasticsearchDomain(), AWSELASTICSEARCHDOMAIN_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsS3Bucket(), AWSS3BUCKET_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsS3AccountPublicAccessBlock(), AWSS3ACCOUNTPUBLICACCESSBLOCK_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsS3Object(), AWSS3OBJECT_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsSecretsManagerSecret(), AWSSECRETSMANAGERSECRET_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsIamAccessKey(), AWSIAMACCESSKEY_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsIamUser(), AWSIAMUSER_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsIamPolicy(), AWSIAMPOLICY_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsApiGatewayV2Stage(), AWSAPIGATEWAYV2STAGE_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsApiGatewayV2Api(), AWSAPIGATEWAYV2API_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsDynamoDbTable(), AWSDYNAMODBTABLE_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsApiGatewayStage(), AWSAPIGATEWAYSTAGE_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsApiGatewayRestApi(), AWSAPIGATEWAYRESTAPI_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsCloudTrailTrail(), AWSCLOUDTRAILTRAIL_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsSsmPatchCompliance(), AWSSSMPATCHCOMPLIANCE_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsCertificateManagerCertificate(), AWSCERTIFICATEMANAGERCERTIFICATE_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsRedshiftCluster(), AWSREDSHIFTCLUSTER_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsElbLoadBalancer(), AWSELBLOADBALANCER_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsIamGroup(), AWSIAMGROUP_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsIamRole(), AWSIAMROLE_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsKmsKey(), AWSKMSKEY_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsLambdaFunction(), AWSLAMBDAFUNCTION_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsLambdaLayerVersion(), AWSLAMBDALAYERVERSION_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsRdsDbInstance(), AWSRDSDBINSTANCE_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsSnsTopic(), AWSSNSTOPIC_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsSqsQueue(), AWSSQSQUEUE_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsWafWebAcl(), AWSWAFWEBACL_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsRdsDbSnapshot(), AWSRDSDBSNAPSHOT_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsRdsDbClusterSnapshot(), AWSRDSDBCLUSTERSNAPSHOT_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsRdsDbCluster(), AWSRDSDBCLUSTER_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsEcsCluster(), AWSECSCLUSTER_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsEcsContainer(), AWSECSCONTAINER_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsEcsTaskDefinition(), AWSECSTASKDEFINITION_BINDING);
protocolMarshaller.marshall(resourceDetails.getContainer(), CONTAINER_BINDING);
protocolMarshaller.marshall(resourceDetails.getOther(), OTHER_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsRdsEventSubscription(), AWSRDSEVENTSUBSCRIPTION_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsEcsService(), AWSECSSERVICE_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsAutoScalingLaunchConfiguration(), AWSAUTOSCALINGLAUNCHCONFIGURATION_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsEc2VpnConnection(), AWSEC2VPNCONNECTION_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsEcrContainerImage(), AWSECRCONTAINERIMAGE_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsOpenSearchServiceDomain(), AWSOPENSEARCHSERVICEDOMAIN_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsEc2VpcEndpointService(), AWSEC2VPCENDPOINTSERVICE_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsXrayEncryptionConfig(), AWSXRAYENCRYPTIONCONFIG_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsWafRateBasedRule(), AWSWAFRATEBASEDRULE_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsWafRegionalRateBasedRule(), AWSWAFREGIONALRATEBASEDRULE_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsEcrRepository(), AWSECRREPOSITORY_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsEksCluster(), AWSEKSCLUSTER_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsNetworkFirewallFirewallPolicy(), AWSNETWORKFIREWALLFIREWALLPOLICY_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsNetworkFirewallFirewall(), AWSNETWORKFIREWALLFIREWALL_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsNetworkFirewallRuleGroup(), AWSNETWORKFIREWALLRULEGROUP_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsRdsDbSecurityGroup(), AWSRDSDBSECURITYGROUP_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsKinesisStream(), AWSKINESISSTREAM_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsEc2TransitGateway(), AWSEC2TRANSITGATEWAY_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsEfsAccessPoint(), AWSEFSACCESSPOINT_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsCloudFormationStack(), AWSCLOUDFORMATIONSTACK_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsCloudWatchAlarm(), AWSCLOUDWATCHALARM_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsEc2VpcPeeringConnection(), AWSEC2VPCPEERINGCONNECTION_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsWafRegionalRuleGroup(), AWSWAFREGIONALRULEGROUP_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsWafRegionalRule(), AWSWAFREGIONALRULE_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsWafRegionalWebAcl(), AWSWAFREGIONALWEBACL_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsWafRule(), AWSWAFRULE_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsWafRuleGroup(), AWSWAFRULEGROUP_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsEcsTask(), AWSECSTASK_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsBackupBackupVault(), AWSBACKUPBACKUPVAULT_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsBackupBackupPlan(), AWSBACKUPBACKUPPLAN_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsBackupRecoveryPoint(), AWSBACKUPRECOVERYPOINT_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsEc2LaunchTemplate(), AWSEC2LAUNCHTEMPLATE_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsSageMakerNotebookInstance(), AWSSAGEMAKERNOTEBOOKINSTANCE_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsWafv2WebAcl(), AWSWAFV2WEBACL_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsWafv2RuleGroup(), AWSWAFV2RULEGROUP_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsEc2RouteTable(), AWSEC2ROUTETABLE_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsAmazonMqBroker(), AWSAMAZONMQBROKER_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsAppSyncGraphQlApi(), AWSAPPSYNCGRAPHQLAPI_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsEventSchemasRegistry(), AWSEVENTSCHEMASREGISTRY_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsGuardDutyDetector(), AWSGUARDDUTYDETECTOR_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsStepFunctionStateMachine(), AWSSTEPFUNCTIONSTATEMACHINE_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsAthenaWorkGroup(), AWSATHENAWORKGROUP_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsEventsEventbus(), AWSEVENTSEVENTBUS_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsDmsEndpoint(), AWSDMSENDPOINT_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsEventsEndpoint(), AWSEVENTSENDPOINT_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsDmsReplicationTask(), AWSDMSREPLICATIONTASK_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsDmsReplicationInstance(), AWSDMSREPLICATIONINSTANCE_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsRoute53HostedZone(), AWSROUTE53HOSTEDZONE_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsMskCluster(), AWSMSKCLUSTER_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsS3AccessPoint(), AWSS3ACCESSPOINT_BINDING);
protocolMarshaller.marshall(resourceDetails.getAwsEc2ClientVpnEndpoint(), AWSEC2CLIENTVPNENDPOINT_BINDING);
} catch (Exception e) {
throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
}
}
}