All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.amazon.awssdk.codegen.default-endpoint-rule-set.json Maven / Gradle / Ivy

{
  "version": "1.0",
  "parameters": {
    "Region": {
      "builtIn": "AWS::Region",
      "required": true,
      "documentation": "The AWS region used to dispatch the request, if the endpoint is not specified.",
      "type": "String"
    },
    "Endpoint": {
      "builtIn": "SDK::Endpoint",
      "required": false,
      "documentation": "Override the endpoint used to send this request",
      "type": "String"
    }
  },
  "rules": [
    {
      "conditions": [
        {
          "fn": "isSet",
          "argv": [
            {
              "ref": "Endpoint"
            }
          ]
        }
      ],
      "type": "endpoint",
      "endpoint": {
        "url": {
          "ref": "Endpoint"
        },
        "properties": {},
        "headers": {}
      }
    },
    {
      "conditions": [
        {
          "fn": "aws.partition",
          "argv": [
            {
              "ref": "Region"
            }
          ],
          "assign": "PartitionResult"
        }
      ],
      "type": "endpoint",
      "endpoint": {
        "url": "https://%s.{Region}.{PartitionResult#dnsSuffix}",
        "properties": {},
        "headers": {}
      }
    }
  ]
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy