@staticmethod
def get(resource_name, id, opts=None, api_stages=None, arn=None, description=None, name=None, product_code=None, quota_settings=None, tags=None, throttle_settings=None):
    '\n        Get an existing UsagePlan resource\'s state with the given name, id, and optional extra\n        properties used to qualify the lookup.\n\n        :param str resource_name: The unique name of the resulting resource.\n        :param str id: The unique provider ID of the resource to lookup.\n        :param pulumi.ResourceOptions opts: Options for the resource.\n        :param pulumi.Input[list] api_stages: The associated API stages of the usage plan.\n        :param pulumi.Input[str] arn: Amazon Resource Name (ARN)\n        :param pulumi.Input[str] description: The description of a usage plan.\n        :param pulumi.Input[str] name: The name of the usage plan.\n        :param pulumi.Input[str] product_code: The AWS Markeplace product identifier to associate with the usage plan as a SaaS product on AWS Marketplace.\n        :param pulumi.Input[dict] quota_settings: The quota settings of the usage plan.\n        :param pulumi.Input[dict] tags: Key-value map of resource tags\n        :param pulumi.Input[dict] throttle_settings: The throttling limits of the usage plan.\n\n        The **api_stages** object supports the following:\n\n          * `api_id` (`pulumi.Input[str]`) - API Id of the associated API stage in a usage plan.\n          * `stage` (`pulumi.Input[str]`) - API stage name of the associated API stage in a usage plan.\n\n        The **quota_settings** object supports the following:\n\n          * `limit` (`pulumi.Input[float]`) - The maximum number of requests that can be made in a given time period.\n          * `offset` (`pulumi.Input[float]`) - The number of requests subtracted from the given limit in the initial time period.\n          * `period` (`pulumi.Input[str]`) - The time period in which the limit applies. Valid values are "DAY", "WEEK" or "MONTH".\n\n        The **throttle_settings** object supports the following:\n\n          * `burstLimit` (`pulumi.Input[float]`) - The API request burst limit, the maximum rate limit over a time ranging from one to a few seconds, depending upon whether the underlying token bucket is at its full capacity.\n          * `rate_limit` (`pulumi.Input[float]`) - The API request steady-state rate limit.\n        '
    opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
    __props__ = dict()
    __props__['api_stages'] = api_stages
    __props__['arn'] = arn
    __props__['description'] = description
    __props__['name'] = name
    __props__['product_code'] = product_code
    __props__['quota_settings'] = quota_settings
    __props__['tags'] = tags
    __props__['throttle_settings'] = throttle_settings
    return UsagePlan(resource_name, opts=opts, __props__=__props__)
Get an existing UsagePlan resource's state with the given name, id, and optional extra
properties used to qualify the lookup.

:param str resource_name: The unique name of the resulting resource.
:param str id: The unique provider ID of the resource to lookup.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[list] api_stages: The associated API stages of the usage plan.
:param pulumi.Input[str] arn: Amazon Resource Name (ARN)
:param pulumi.Input[str] description: The description of a usage plan.
:param pulumi.Input[str] name: The name of the usage plan.
:param pulumi.Input[str] product_code: The AWS Markeplace product identifier to associate with the usage plan as a SaaS product on AWS Marketplace.
:param pulumi.Input[dict] quota_settings: The quota settings of the usage plan.
:param pulumi.Input[dict] tags: Key-value map of resource tags
:param pulumi.Input[dict] throttle_settings: The throttling limits of the usage plan.

The **api_stages** object supports the following:

  * `api_id` (`pulumi.Input[str]`) - API Id of the associated API stage in a usage plan.
  * `stage` (`pulumi.Input[str]`) - API stage name of the associated API stage in a usage plan.

The **quota_settings** object supports the following:

  * `limit` (`pulumi.Input[float]`) - The maximum number of requests that can be made in a given time period.
  * `offset` (`pulumi.Input[float]`) - The number of requests subtracted from the given limit in the initial time period.
  * `period` (`pulumi.Input[str]`) - The time period in which the limit applies. Valid values are "DAY", "WEEK" or "MONTH".

The **throttle_settings** object supports the following:

  * `burstLimit` (`pulumi.Input[float]`) - The API request burst limit, the maximum rate limit over a time ranging from one to a few seconds, depending upon whether the underlying token bucket is at its full capacity.
  * `rate_limit` (`pulumi.Input[float]`) - The API request steady-state rate limit.
@staticmethod
def get(resource_name, id, opts=None, api_stages=None, arn=None, description=None, name=None, product_code=None, quota_settings=None, tags=None, throttle_settings=None):
    '\n        Get an existing UsagePlan resource\'s state with the given name, id, and optional extra\n        properties used to qualify the lookup.\n\n        :param str resource_name: The unique name of the resulting resource.\n        :param str id: The unique provider ID of the resource to lookup.\n        :param pulumi.ResourceOptions opts: Options for the resource.\n        :param pulumi.Input[list] api_stages: The associated API stages of the usage plan.\n        :param pulumi.Input[str] arn: Amazon Resource Name (ARN)\n        :param pulumi.Input[str] description: The description of a usage plan.\n        :param pulumi.Input[str] name: The name of the usage plan.\n        :param pulumi.Input[str] product_code: The AWS Markeplace product identifier to associate with the usage plan as a SaaS product on AWS Marketplace.\n        :param pulumi.Input[dict] quota_settings: The quota settings of the usage plan.\n        :param pulumi.Input[dict] tags: Key-value map of resource tags\n        :param pulumi.Input[dict] throttle_settings: The throttling limits of the usage plan.\n\n        The **api_stages** object supports the following:\n\n          * `api_id` (`pulumi.Input[str]`) - API Id of the associated API stage in a usage plan.\n          * `stage` (`pulumi.Input[str]`) - API stage name of the associated API stage in a usage plan.\n\n        The **quota_settings** object supports the following:\n\n          * `limit` (`pulumi.Input[float]`) - The maximum number of requests that can be made in a given time period.\n          * `offset` (`pulumi.Input[float]`) - The number of requests subtracted from the given limit in the initial time period.\n          * `period` (`pulumi.Input[str]`) - The time period in which the limit applies. Valid values are "DAY", "WEEK" or "MONTH".\n\n        The **throttle_settings** object supports the following:\n\n          * `burstLimit` (`pulumi.Input[float]`) - The API request burst limit, the maximum rate limit over a time ranging from one to a few seconds, depending upon whether the underlying token bucket is at its full capacity.\n          * `rate_limit` (`pulumi.Input[float]`) - The API request steady-state rate limit.\n        '
    opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
    __props__ = dict()
    __props__['api_stages'] = api_stages
    __props__['arn'] = arn
    __props__['description'] = description
    __props__['name'] = name
    __props__['product_code'] = product_code
    __props__['quota_settings'] = quota_settings
    __props__['tags'] = tags
    __props__['throttle_settings'] = throttle_settings
    return UsagePlan(resource_name, opts=opts, __props__=__props__)