github.com/aavshr/aws-sdk-go@v1.41.3/models/apis/autoscaling-plans/2018-01-06/api-2.json (about)

     1  {
     2    "version":"2.0",
     3    "metadata":{
     4      "apiVersion":"2018-01-06",
     5      "endpointPrefix":"autoscaling-plans",
     6      "jsonVersion":"1.1",
     7      "protocol":"json",
     8      "serviceFullName":"AWS Auto Scaling Plans",
     9      "serviceId":"Auto Scaling Plans",
    10      "signatureVersion":"v4",
    11      "signingName":"autoscaling-plans",
    12      "targetPrefix":"AnyScaleScalingPlannerFrontendService",
    13      "uid":"autoscaling-plans-2018-01-06"
    14    },
    15    "operations":{
    16      "CreateScalingPlan":{
    17        "name":"CreateScalingPlan",
    18        "http":{
    19          "method":"POST",
    20          "requestUri":"/"
    21        },
    22        "input":{"shape":"CreateScalingPlanRequest"},
    23        "output":{"shape":"CreateScalingPlanResponse"},
    24        "errors":[
    25          {"shape":"ValidationException"},
    26          {"shape":"LimitExceededException"},
    27          {"shape":"ConcurrentUpdateException"},
    28          {"shape":"InternalServiceException"}
    29        ]
    30      },
    31      "DeleteScalingPlan":{
    32        "name":"DeleteScalingPlan",
    33        "http":{
    34          "method":"POST",
    35          "requestUri":"/"
    36        },
    37        "input":{"shape":"DeleteScalingPlanRequest"},
    38        "output":{"shape":"DeleteScalingPlanResponse"},
    39        "errors":[
    40          {"shape":"ValidationException"},
    41          {"shape":"ObjectNotFoundException"},
    42          {"shape":"ConcurrentUpdateException"},
    43          {"shape":"InternalServiceException"}
    44        ]
    45      },
    46      "DescribeScalingPlanResources":{
    47        "name":"DescribeScalingPlanResources",
    48        "http":{
    49          "method":"POST",
    50          "requestUri":"/"
    51        },
    52        "input":{"shape":"DescribeScalingPlanResourcesRequest"},
    53        "output":{"shape":"DescribeScalingPlanResourcesResponse"},
    54        "errors":[
    55          {"shape":"ValidationException"},
    56          {"shape":"InvalidNextTokenException"},
    57          {"shape":"ConcurrentUpdateException"},
    58          {"shape":"InternalServiceException"}
    59        ]
    60      },
    61      "DescribeScalingPlans":{
    62        "name":"DescribeScalingPlans",
    63        "http":{
    64          "method":"POST",
    65          "requestUri":"/"
    66        },
    67        "input":{"shape":"DescribeScalingPlansRequest"},
    68        "output":{"shape":"DescribeScalingPlansResponse"},
    69        "errors":[
    70          {"shape":"ValidationException"},
    71          {"shape":"InvalidNextTokenException"},
    72          {"shape":"ConcurrentUpdateException"},
    73          {"shape":"InternalServiceException"}
    74        ]
    75      },
    76      "GetScalingPlanResourceForecastData":{
    77        "name":"GetScalingPlanResourceForecastData",
    78        "http":{
    79          "method":"POST",
    80          "requestUri":"/"
    81        },
    82        "input":{"shape":"GetScalingPlanResourceForecastDataRequest"},
    83        "output":{"shape":"GetScalingPlanResourceForecastDataResponse"},
    84        "errors":[
    85          {"shape":"ValidationException"},
    86          {"shape":"InternalServiceException"}
    87        ]
    88      },
    89      "UpdateScalingPlan":{
    90        "name":"UpdateScalingPlan",
    91        "http":{
    92          "method":"POST",
    93          "requestUri":"/"
    94        },
    95        "input":{"shape":"UpdateScalingPlanRequest"},
    96        "output":{"shape":"UpdateScalingPlanResponse"},
    97        "errors":[
    98          {"shape":"ValidationException"},
    99          {"shape":"ConcurrentUpdateException"},
   100          {"shape":"InternalServiceException"},
   101          {"shape":"ObjectNotFoundException"}
   102        ]
   103      }
   104    },
   105    "shapes":{
   106      "ApplicationSource":{
   107        "type":"structure",
   108        "members":{
   109          "CloudFormationStackARN":{"shape":"XmlString"},
   110          "TagFilters":{"shape":"TagFilters"}
   111        }
   112      },
   113      "ApplicationSources":{
   114        "type":"list",
   115        "member":{"shape":"ApplicationSource"}
   116      },
   117      "ConcurrentUpdateException":{
   118        "type":"structure",
   119        "members":{
   120          "Message":{"shape":"ErrorMessage"}
   121        },
   122        "exception":true
   123      },
   124      "Cooldown":{"type":"integer"},
   125      "CreateScalingPlanRequest":{
   126        "type":"structure",
   127        "required":[
   128          "ScalingPlanName",
   129          "ApplicationSource",
   130          "ScalingInstructions"
   131        ],
   132        "members":{
   133          "ScalingPlanName":{"shape":"ScalingPlanName"},
   134          "ApplicationSource":{"shape":"ApplicationSource"},
   135          "ScalingInstructions":{"shape":"ScalingInstructions"}
   136        }
   137      },
   138      "CreateScalingPlanResponse":{
   139        "type":"structure",
   140        "required":["ScalingPlanVersion"],
   141        "members":{
   142          "ScalingPlanVersion":{"shape":"ScalingPlanVersion"}
   143        }
   144      },
   145      "CustomizedLoadMetricSpecification":{
   146        "type":"structure",
   147        "required":[
   148          "MetricName",
   149          "Namespace",
   150          "Statistic"
   151        ],
   152        "members":{
   153          "MetricName":{"shape":"MetricName"},
   154          "Namespace":{"shape":"MetricNamespace"},
   155          "Dimensions":{"shape":"MetricDimensions"},
   156          "Statistic":{"shape":"MetricStatistic"},
   157          "Unit":{"shape":"MetricUnit"}
   158        }
   159      },
   160      "CustomizedScalingMetricSpecification":{
   161        "type":"structure",
   162        "required":[
   163          "MetricName",
   164          "Namespace",
   165          "Statistic"
   166        ],
   167        "members":{
   168          "MetricName":{"shape":"MetricName"},
   169          "Namespace":{"shape":"MetricNamespace"},
   170          "Dimensions":{"shape":"MetricDimensions"},
   171          "Statistic":{"shape":"MetricStatistic"},
   172          "Unit":{"shape":"MetricUnit"}
   173        }
   174      },
   175      "Datapoint":{
   176        "type":"structure",
   177        "members":{
   178          "Timestamp":{"shape":"TimestampType"},
   179          "Value":{"shape":"MetricScale"}
   180        }
   181      },
   182      "Datapoints":{
   183        "type":"list",
   184        "member":{"shape":"Datapoint"}
   185      },
   186      "DeleteScalingPlanRequest":{
   187        "type":"structure",
   188        "required":[
   189          "ScalingPlanName",
   190          "ScalingPlanVersion"
   191        ],
   192        "members":{
   193          "ScalingPlanName":{"shape":"ScalingPlanName"},
   194          "ScalingPlanVersion":{"shape":"ScalingPlanVersion"}
   195        }
   196      },
   197      "DeleteScalingPlanResponse":{
   198        "type":"structure",
   199        "members":{
   200        }
   201      },
   202      "DescribeScalingPlanResourcesRequest":{
   203        "type":"structure",
   204        "required":[
   205          "ScalingPlanName",
   206          "ScalingPlanVersion"
   207        ],
   208        "members":{
   209          "ScalingPlanName":{"shape":"ScalingPlanName"},
   210          "ScalingPlanVersion":{"shape":"ScalingPlanVersion"},
   211          "MaxResults":{"shape":"MaxResults"},
   212          "NextToken":{"shape":"NextToken"}
   213        }
   214      },
   215      "DescribeScalingPlanResourcesResponse":{
   216        "type":"structure",
   217        "members":{
   218          "ScalingPlanResources":{"shape":"ScalingPlanResources"},
   219          "NextToken":{"shape":"NextToken"}
   220        }
   221      },
   222      "DescribeScalingPlansRequest":{
   223        "type":"structure",
   224        "members":{
   225          "ScalingPlanNames":{"shape":"ScalingPlanNames"},
   226          "ScalingPlanVersion":{"shape":"ScalingPlanVersion"},
   227          "ApplicationSources":{"shape":"ApplicationSources"},
   228          "MaxResults":{"shape":"MaxResults"},
   229          "NextToken":{"shape":"NextToken"}
   230        }
   231      },
   232      "DescribeScalingPlansResponse":{
   233        "type":"structure",
   234        "members":{
   235          "ScalingPlans":{"shape":"ScalingPlans"},
   236          "NextToken":{"shape":"NextToken"}
   237        }
   238      },
   239      "DisableDynamicScaling":{"type":"boolean"},
   240      "DisableScaleIn":{"type":"boolean"},
   241      "ErrorMessage":{"type":"string"},
   242      "ForecastDataType":{
   243        "type":"string",
   244        "enum":[
   245          "CapacityForecast",
   246          "LoadForecast",
   247          "ScheduledActionMinCapacity",
   248          "ScheduledActionMaxCapacity"
   249        ]
   250      },
   251      "GetScalingPlanResourceForecastDataRequest":{
   252        "type":"structure",
   253        "required":[
   254          "ScalingPlanName",
   255          "ScalingPlanVersion",
   256          "ServiceNamespace",
   257          "ResourceId",
   258          "ScalableDimension",
   259          "ForecastDataType",
   260          "StartTime",
   261          "EndTime"
   262        ],
   263        "members":{
   264          "ScalingPlanName":{"shape":"ScalingPlanName"},
   265          "ScalingPlanVersion":{"shape":"ScalingPlanVersion"},
   266          "ServiceNamespace":{"shape":"ServiceNamespace"},
   267          "ResourceId":{"shape":"XmlString"},
   268          "ScalableDimension":{"shape":"ScalableDimension"},
   269          "ForecastDataType":{"shape":"ForecastDataType"},
   270          "StartTime":{"shape":"TimestampType"},
   271          "EndTime":{"shape":"TimestampType"}
   272        }
   273      },
   274      "GetScalingPlanResourceForecastDataResponse":{
   275        "type":"structure",
   276        "required":["Datapoints"],
   277        "members":{
   278          "Datapoints":{"shape":"Datapoints"}
   279        }
   280      },
   281      "InternalServiceException":{
   282        "type":"structure",
   283        "members":{
   284          "Message":{"shape":"ErrorMessage"}
   285        },
   286        "exception":true
   287      },
   288      "InvalidNextTokenException":{
   289        "type":"structure",
   290        "members":{
   291          "Message":{"shape":"ErrorMessage"}
   292        },
   293        "exception":true
   294      },
   295      "LimitExceededException":{
   296        "type":"structure",
   297        "members":{
   298          "Message":{"shape":"ErrorMessage"}
   299        },
   300        "exception":true
   301      },
   302      "LoadMetricType":{
   303        "type":"string",
   304        "enum":[
   305          "ASGTotalCPUUtilization",
   306          "ASGTotalNetworkIn",
   307          "ASGTotalNetworkOut",
   308          "ALBTargetGroupRequestCount"
   309        ]
   310      },
   311      "MaxResults":{"type":"integer"},
   312      "MetricDimension":{
   313        "type":"structure",
   314        "required":[
   315          "Name",
   316          "Value"
   317        ],
   318        "members":{
   319          "Name":{"shape":"MetricDimensionName"},
   320          "Value":{"shape":"MetricDimensionValue"}
   321        }
   322      },
   323      "MetricDimensionName":{"type":"string"},
   324      "MetricDimensionValue":{"type":"string"},
   325      "MetricDimensions":{
   326        "type":"list",
   327        "member":{"shape":"MetricDimension"}
   328      },
   329      "MetricName":{"type":"string"},
   330      "MetricNamespace":{"type":"string"},
   331      "MetricScale":{"type":"double"},
   332      "MetricStatistic":{
   333        "type":"string",
   334        "enum":[
   335          "Average",
   336          "Minimum",
   337          "Maximum",
   338          "SampleCount",
   339          "Sum"
   340        ]
   341      },
   342      "MetricUnit":{"type":"string"},
   343      "NextToken":{"type":"string"},
   344      "ObjectNotFoundException":{
   345        "type":"structure",
   346        "members":{
   347          "Message":{"shape":"ErrorMessage"}
   348        },
   349        "exception":true
   350      },
   351      "PolicyName":{
   352        "type":"string",
   353        "max":256,
   354        "min":1,
   355        "pattern":"\\p{Print}+"
   356      },
   357      "PolicyType":{
   358        "type":"string",
   359        "enum":["TargetTrackingScaling"]
   360      },
   361      "PredefinedLoadMetricSpecification":{
   362        "type":"structure",
   363        "required":["PredefinedLoadMetricType"],
   364        "members":{
   365          "PredefinedLoadMetricType":{"shape":"LoadMetricType"},
   366          "ResourceLabel":{"shape":"ResourceLabel"}
   367        }
   368      },
   369      "PredefinedScalingMetricSpecification":{
   370        "type":"structure",
   371        "required":["PredefinedScalingMetricType"],
   372        "members":{
   373          "PredefinedScalingMetricType":{"shape":"ScalingMetricType"},
   374          "ResourceLabel":{"shape":"ResourceLabel"}
   375        }
   376      },
   377      "PredictiveScalingMaxCapacityBehavior":{
   378        "type":"string",
   379        "enum":[
   380          "SetForecastCapacityToMaxCapacity",
   381          "SetMaxCapacityToForecastCapacity",
   382          "SetMaxCapacityAboveForecastCapacity"
   383        ]
   384      },
   385      "PredictiveScalingMode":{
   386        "type":"string",
   387        "enum":[
   388          "ForecastAndScale",
   389          "ForecastOnly"
   390        ]
   391      },
   392      "ResourceCapacity":{"type":"integer"},
   393      "ResourceIdMaxLen1600":{
   394        "type":"string",
   395        "max":1600,
   396        "min":1,
   397        "pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*"
   398      },
   399      "ResourceLabel":{
   400        "type":"string",
   401        "max":1023,
   402        "min":1
   403      },
   404      "ScalableDimension":{
   405        "type":"string",
   406        "enum":[
   407          "autoscaling:autoScalingGroup:DesiredCapacity",
   408          "ecs:service:DesiredCount",
   409          "ec2:spot-fleet-request:TargetCapacity",
   410          "rds:cluster:ReadReplicaCount",
   411          "dynamodb:table:ReadCapacityUnits",
   412          "dynamodb:table:WriteCapacityUnits",
   413          "dynamodb:index:ReadCapacityUnits",
   414          "dynamodb:index:WriteCapacityUnits"
   415        ]
   416      },
   417      "ScalingInstruction":{
   418        "type":"structure",
   419        "required":[
   420          "ServiceNamespace",
   421          "ResourceId",
   422          "ScalableDimension",
   423          "MinCapacity",
   424          "MaxCapacity",
   425          "TargetTrackingConfigurations"
   426        ],
   427        "members":{
   428          "ServiceNamespace":{"shape":"ServiceNamespace"},
   429          "ResourceId":{"shape":"ResourceIdMaxLen1600"},
   430          "ScalableDimension":{"shape":"ScalableDimension"},
   431          "MinCapacity":{"shape":"ResourceCapacity"},
   432          "MaxCapacity":{"shape":"ResourceCapacity"},
   433          "TargetTrackingConfigurations":{"shape":"TargetTrackingConfigurations"},
   434          "PredefinedLoadMetricSpecification":{"shape":"PredefinedLoadMetricSpecification"},
   435          "CustomizedLoadMetricSpecification":{"shape":"CustomizedLoadMetricSpecification"},
   436          "ScheduledActionBufferTime":{"shape":"ScheduledActionBufferTime"},
   437          "PredictiveScalingMaxCapacityBehavior":{"shape":"PredictiveScalingMaxCapacityBehavior"},
   438          "PredictiveScalingMaxCapacityBuffer":{"shape":"ResourceCapacity"},
   439          "PredictiveScalingMode":{"shape":"PredictiveScalingMode"},
   440          "ScalingPolicyUpdateBehavior":{"shape":"ScalingPolicyUpdateBehavior"},
   441          "DisableDynamicScaling":{"shape":"DisableDynamicScaling"}
   442        }
   443      },
   444      "ScalingInstructions":{
   445        "type":"list",
   446        "member":{"shape":"ScalingInstruction"}
   447      },
   448      "ScalingMetricType":{
   449        "type":"string",
   450        "enum":[
   451          "ASGAverageCPUUtilization",
   452          "ASGAverageNetworkIn",
   453          "ASGAverageNetworkOut",
   454          "DynamoDBReadCapacityUtilization",
   455          "DynamoDBWriteCapacityUtilization",
   456          "ECSServiceAverageCPUUtilization",
   457          "ECSServiceAverageMemoryUtilization",
   458          "ALBRequestCountPerTarget",
   459          "RDSReaderAverageCPUUtilization",
   460          "RDSReaderAverageDatabaseConnections",
   461          "EC2SpotFleetRequestAverageCPUUtilization",
   462          "EC2SpotFleetRequestAverageNetworkIn",
   463          "EC2SpotFleetRequestAverageNetworkOut"
   464        ]
   465      },
   466      "ScalingPlan":{
   467        "type":"structure",
   468        "required":[
   469          "ScalingPlanName",
   470          "ScalingPlanVersion",
   471          "ApplicationSource",
   472          "ScalingInstructions",
   473          "StatusCode"
   474        ],
   475        "members":{
   476          "ScalingPlanName":{"shape":"ScalingPlanName"},
   477          "ScalingPlanVersion":{"shape":"ScalingPlanVersion"},
   478          "ApplicationSource":{"shape":"ApplicationSource"},
   479          "ScalingInstructions":{"shape":"ScalingInstructions"},
   480          "StatusCode":{"shape":"ScalingPlanStatusCode"},
   481          "StatusMessage":{"shape":"XmlString"},
   482          "StatusStartTime":{"shape":"TimestampType"},
   483          "CreationTime":{"shape":"TimestampType"}
   484        }
   485      },
   486      "ScalingPlanName":{
   487        "type":"string",
   488        "max":128,
   489        "min":1,
   490        "pattern":"[\\p{Print}&&[^|:/]]+"
   491      },
   492      "ScalingPlanNames":{
   493        "type":"list",
   494        "member":{"shape":"ScalingPlanName"}
   495      },
   496      "ScalingPlanResource":{
   497        "type":"structure",
   498        "required":[
   499          "ScalingPlanName",
   500          "ScalingPlanVersion",
   501          "ServiceNamespace",
   502          "ResourceId",
   503          "ScalableDimension",
   504          "ScalingStatusCode"
   505        ],
   506        "members":{
   507          "ScalingPlanName":{"shape":"ScalingPlanName"},
   508          "ScalingPlanVersion":{"shape":"ScalingPlanVersion"},
   509          "ServiceNamespace":{"shape":"ServiceNamespace"},
   510          "ResourceId":{"shape":"ResourceIdMaxLen1600"},
   511          "ScalableDimension":{"shape":"ScalableDimension"},
   512          "ScalingPolicies":{"shape":"ScalingPolicies"},
   513          "ScalingStatusCode":{"shape":"ScalingStatusCode"},
   514          "ScalingStatusMessage":{"shape":"XmlString"}
   515        }
   516      },
   517      "ScalingPlanResources":{
   518        "type":"list",
   519        "member":{"shape":"ScalingPlanResource"}
   520      },
   521      "ScalingPlanStatusCode":{
   522        "type":"string",
   523        "enum":[
   524          "Active",
   525          "ActiveWithProblems",
   526          "CreationInProgress",
   527          "CreationFailed",
   528          "DeletionInProgress",
   529          "DeletionFailed",
   530          "UpdateInProgress",
   531          "UpdateFailed"
   532        ]
   533      },
   534      "ScalingPlanVersion":{"type":"long"},
   535      "ScalingPlans":{
   536        "type":"list",
   537        "member":{"shape":"ScalingPlan"}
   538      },
   539      "ScalingPolicies":{
   540        "type":"list",
   541        "member":{"shape":"ScalingPolicy"}
   542      },
   543      "ScalingPolicy":{
   544        "type":"structure",
   545        "required":[
   546          "PolicyName",
   547          "PolicyType"
   548        ],
   549        "members":{
   550          "PolicyName":{"shape":"PolicyName"},
   551          "PolicyType":{"shape":"PolicyType"},
   552          "TargetTrackingConfiguration":{"shape":"TargetTrackingConfiguration"}
   553        }
   554      },
   555      "ScalingPolicyUpdateBehavior":{
   556        "type":"string",
   557        "enum":[
   558          "KeepExternalPolicies",
   559          "ReplaceExternalPolicies"
   560        ]
   561      },
   562      "ScalingStatusCode":{
   563        "type":"string",
   564        "enum":[
   565          "Inactive",
   566          "PartiallyActive",
   567          "Active"
   568        ]
   569      },
   570      "ScheduledActionBufferTime":{
   571        "type":"integer",
   572        "min":0
   573      },
   574      "ServiceNamespace":{
   575        "type":"string",
   576        "enum":[
   577          "autoscaling",
   578          "ecs",
   579          "ec2",
   580          "rds",
   581          "dynamodb"
   582        ]
   583      },
   584      "TagFilter":{
   585        "type":"structure",
   586        "members":{
   587          "Key":{"shape":"XmlStringMaxLen128"},
   588          "Values":{"shape":"TagValues"}
   589        }
   590      },
   591      "TagFilters":{
   592        "type":"list",
   593        "member":{"shape":"TagFilter"}
   594      },
   595      "TagValues":{
   596        "type":"list",
   597        "member":{"shape":"XmlStringMaxLen256"}
   598      },
   599      "TargetTrackingConfiguration":{
   600        "type":"structure",
   601        "required":["TargetValue"],
   602        "members":{
   603          "PredefinedScalingMetricSpecification":{"shape":"PredefinedScalingMetricSpecification"},
   604          "CustomizedScalingMetricSpecification":{"shape":"CustomizedScalingMetricSpecification"},
   605          "TargetValue":{"shape":"MetricScale"},
   606          "DisableScaleIn":{"shape":"DisableScaleIn"},
   607          "ScaleOutCooldown":{"shape":"Cooldown"},
   608          "ScaleInCooldown":{"shape":"Cooldown"},
   609          "EstimatedInstanceWarmup":{"shape":"Cooldown"}
   610        }
   611      },
   612      "TargetTrackingConfigurations":{
   613        "type":"list",
   614        "member":{"shape":"TargetTrackingConfiguration"}
   615      },
   616      "TimestampType":{"type":"timestamp"},
   617      "UpdateScalingPlanRequest":{
   618        "type":"structure",
   619        "required":[
   620          "ScalingPlanName",
   621          "ScalingPlanVersion"
   622        ],
   623        "members":{
   624          "ScalingPlanName":{"shape":"ScalingPlanName"},
   625          "ScalingPlanVersion":{"shape":"ScalingPlanVersion"},
   626          "ApplicationSource":{"shape":"ApplicationSource"},
   627          "ScalingInstructions":{"shape":"ScalingInstructions"}
   628        }
   629      },
   630      "UpdateScalingPlanResponse":{
   631        "type":"structure",
   632        "members":{
   633        }
   634      },
   635      "ValidationException":{
   636        "type":"structure",
   637        "members":{
   638          "Message":{"shape":"ErrorMessage"}
   639        },
   640        "exception":true
   641      },
   642      "XmlString":{
   643        "type":"string",
   644        "pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*"
   645      },
   646      "XmlStringMaxLen128":{
   647        "type":"string",
   648        "max":128,
   649        "min":1,
   650        "pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*"
   651      },
   652      "XmlStringMaxLen256":{
   653        "type":"string",
   654        "max":256,
   655        "min":1,
   656        "pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*"
   657      }
   658    }
   659  }