Skip to content

Commit

Permalink
Merge pull request #2037 from aws/fix-struct-errorcode
Browse files Browse the repository at this point in the history
Prevent nil pointer deref on struct ErrorCode()
  • Loading branch information
lucix-aws authored Feb 22, 2023
2 parents 0f8b6e7 + cbeebab commit e845552
Show file tree
Hide file tree
Showing 344 changed files with 4,878 additions and 4,527 deletions.
351 changes: 351 additions & 0 deletions .changelog/43a4b378b0744786b82a8689c071f086.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,351 @@
{
"id": "43a4b378-b074-4786-b82a-8689c071f086",
"type": "bugfix",
"collapse": true,
"description": "Prevent nil pointer dereference when retrieving error codes.",
"modules": [
"internal/protocoltest/awsrestjson",
"internal/protocoltest/ec2query",
"internal/protocoltest/jsonrpc",
"internal/protocoltest/jsonrpc10",
"internal/protocoltest/query",
"internal/protocoltest/restxml",
"service/accessanalyzer",
"service/account",
"service/acm",
"service/acmpca",
"service/alexaforbusiness",
"service/amp",
"service/amplify",
"service/amplifybackend",
"service/amplifyuibuilder",
"service/apigateway",
"service/apigatewaymanagementapi",
"service/apigatewayv2",
"service/appconfig",
"service/appconfigdata",
"service/appflow",
"service/appintegrations",
"service/applicationautoscaling",
"service/applicationcostprofiler",
"service/applicationdiscoveryservice",
"service/applicationinsights",
"service/appmesh",
"service/apprunner",
"service/appstream",
"service/appsync",
"service/arczonalshift",
"service/athena",
"service/auditmanager",
"service/autoscaling",
"service/autoscalingplans",
"service/backup",
"service/backupgateway",
"service/backupstorage",
"service/batch",
"service/billingconductor",
"service/braket",
"service/budgets",
"service/chime",
"service/chimesdkidentity",
"service/chimesdkmediapipelines",
"service/chimesdkmeetings",
"service/chimesdkmessaging",
"service/chimesdkvoice",
"service/cleanrooms",
"service/cloud9",
"service/cloudcontrol",
"service/clouddirectory",
"service/cloudformation",
"service/cloudfront",
"service/cloudhsm",
"service/cloudhsmv2",
"service/cloudsearch",
"service/cloudsearchdomain",
"service/cloudtrail",
"service/cloudtraildata",
"service/cloudwatch",
"service/cloudwatchevents",
"service/cloudwatchlogs",
"service/codeartifact",
"service/codebuild",
"service/codecatalyst",
"service/codecommit",
"service/codedeploy",
"service/codeguruprofiler",
"service/codegurureviewer",
"service/codepipeline",
"service/codestar",
"service/codestarconnections",
"service/codestarnotifications",
"service/cognitoidentity",
"service/cognitoidentityprovider",
"service/cognitosync",
"service/comprehend",
"service/comprehendmedical",
"service/computeoptimizer",
"service/configservice",
"service/connect",
"service/connectcampaigns",
"service/connectcases",
"service/connectcontactlens",
"service/connectparticipant",
"service/controltower",
"service/costandusagereportservice",
"service/costexplorer",
"service/customerprofiles",
"service/databasemigrationservice",
"service/databrew",
"service/dataexchange",
"service/datapipeline",
"service/datasync",
"service/dax",
"service/detective",
"service/devicefarm",
"service/devopsguru",
"service/directconnect",
"service/directoryservice",
"service/dlm",
"service/docdb",
"service/docdbelastic",
"service/drs",
"service/dynamodb",
"service/dynamodbstreams",
"service/ebs",
"service/ec2instanceconnect",
"service/ecr",
"service/ecrpublic",
"service/ecs",
"service/efs",
"service/eks",
"service/elasticache",
"service/elasticbeanstalk",
"service/elasticinference",
"service/elasticloadbalancing",
"service/elasticloadbalancingv2",
"service/elasticsearchservice",
"service/elastictranscoder",
"service/emr",
"service/emrcontainers",
"service/emrserverless",
"service/eventbridge",
"service/evidently",
"service/finspace",
"service/finspacedata",
"service/firehose",
"service/fis",
"service/fms",
"service/forecast",
"service/forecastquery",
"service/frauddetector",
"service/fsx",
"service/gamelift",
"service/gamesparks",
"service/glacier",
"service/globalaccelerator",
"service/glue",
"service/grafana",
"service/greengrass",
"service/greengrassv2",
"service/groundstation",
"service/guardduty",
"service/health",
"service/healthlake",
"service/honeycode",
"service/iam",
"service/identitystore",
"service/imagebuilder",
"service/inspector",
"service/inspector2",
"service/iot",
"service/iot1clickdevicesservice",
"service/iot1clickprojects",
"service/iotanalytics",
"service/iotdataplane",
"service/iotdeviceadvisor",
"service/iotevents",
"service/ioteventsdata",
"service/iotfleethub",
"service/iotfleetwise",
"service/iotjobsdataplane",
"service/iotroborunner",
"service/iotsecuretunneling",
"service/iotsitewise",
"service/iotthingsgraph",
"service/iottwinmaker",
"service/iotwireless",
"service/ivs",
"service/ivschat",
"service/kafka",
"service/kafkaconnect",
"service/kendra",
"service/kendraranking",
"service/keyspaces",
"service/kinesis",
"service/kinesisanalytics",
"service/kinesisanalyticsv2",
"service/kinesisvideo",
"service/kinesisvideoarchivedmedia",
"service/kinesisvideomedia",
"service/kinesisvideosignaling",
"service/kinesisvideowebrtcstorage",
"service/kms",
"service/lakeformation",
"service/lambda",
"service/lexmodelbuildingservice",
"service/lexmodelsv2",
"service/lexruntimeservice",
"service/lexruntimev2",
"service/licensemanager",
"service/licensemanagerlinuxsubscriptions",
"service/licensemanagerusersubscriptions",
"service/lightsail",
"service/location",
"service/lookoutequipment",
"service/lookoutmetrics",
"service/lookoutvision",
"service/m2",
"service/machinelearning",
"service/macie",
"service/macie2",
"service/managedblockchain",
"service/marketplacecatalog",
"service/marketplacecommerceanalytics",
"service/marketplaceentitlementservice",
"service/marketplacemetering",
"service/mediaconnect",
"service/mediaconvert",
"service/medialive",
"service/mediapackage",
"service/mediapackagevod",
"service/mediastore",
"service/mediastoredata",
"service/mediatailor",
"service/memorydb",
"service/mgn",
"service/migrationhub",
"service/migrationhubconfig",
"service/migrationhuborchestrator",
"service/migrationhubrefactorspaces",
"service/migrationhubstrategy",
"service/mobile",
"service/mq",
"service/mturk",
"service/mwaa",
"service/neptune",
"service/networkfirewall",
"service/networkmanager",
"service/nimble",
"service/oam",
"service/omics",
"service/opensearch",
"service/opensearchserverless",
"service/opsworks",
"service/opsworkscm",
"service/organizations",
"service/outposts",
"service/panorama",
"service/personalize",
"service/personalizeevents",
"service/personalizeruntime",
"service/pi",
"service/pinpoint",
"service/pinpointemail",
"service/pinpointsmsvoice",
"service/pinpointsmsvoicev2",
"service/pipes",
"service/polly",
"service/pricing",
"service/privatenetworks",
"service/proton",
"service/qldb",
"service/qldbsession",
"service/quicksight",
"service/ram",
"service/rbin",
"service/rds",
"service/rdsdata",
"service/redshift",
"service/redshiftdata",
"service/redshiftserverless",
"service/rekognition",
"service/resiliencehub",
"service/resourceexplorer2",
"service/resourcegroups",
"service/resourcegroupstaggingapi",
"service/robomaker",
"service/rolesanywhere",
"service/route53",
"service/route53domains",
"service/route53recoverycluster",
"service/route53recoverycontrolconfig",
"service/route53recoveryreadiness",
"service/route53resolver",
"service/rum",
"service/s3",
"service/s3control",
"service/s3outposts",
"service/sagemaker",
"service/sagemakera2iruntime",
"service/sagemakeredge",
"service/sagemakerfeaturestoreruntime",
"service/sagemakergeospatial",
"service/sagemakerruntime",
"service/savingsplans",
"service/scheduler",
"service/schemas",
"service/secretsmanager",
"service/securityhub",
"service/securitylake",
"service/serverlessapplicationrepository",
"service/servicecatalog",
"service/servicecatalogappregistry",
"service/servicediscovery",
"service/servicequotas",
"service/ses",
"service/sesv2",
"service/sfn",
"service/shield",
"service/signer",
"service/simspaceweaver",
"service/sms",
"service/snowball",
"service/snowdevicemanagement",
"service/sns",
"service/sqs",
"service/ssm",
"service/ssmcontacts",
"service/ssmincidents",
"service/ssmsap",
"service/sso",
"service/ssoadmin",
"service/ssooidc",
"service/storagegateway",
"service/sts",
"service/support",
"service/supportapp",
"service/swf",
"service/synthetics",
"service/textract",
"service/timestreamquery",
"service/timestreamwrite",
"service/tnb",
"service/transcribe",
"service/transcribestreaming",
"service/transfer",
"service/translate",
"service/voiceid",
"service/waf",
"service/wafregional",
"service/wafv2",
"service/wellarchitected",
"service/wisdom",
"service/workdocs",
"service/worklink",
"service/workmail",
"service/workmailmessageflow",
"service/workspaces",
"service/workspacesweb",
"service/xray"
]
}
6 changes: 3 additions & 3 deletions internal/protocoltest/awsrestjson/types/errors.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions internal/protocoltest/ec2query/types/errors.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e845552

Please sign in to comment.