mypy_boto3_appconfigdata.client

Type annotations for appconfigdata service client.

Open documentation

Usage::

from boto3.session import Session
    from mypy_boto3_appconfigdata.client import AppConfigDataClient
 
session = Session() client: AppConfigDataClient = session.client("appconfigdata")

  1"""
  2Type annotations for appconfigdata service client.
  3
  4[Open documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_appconfigdata/client/)
  5
  6Usage::
  7
  8    ```python
  9    from boto3.session import Session
 10    from mypy_boto3_appconfigdata.client import AppConfigDataClient
 11
 12    session = Session()
 13    client: AppConfigDataClient = session.client("appconfigdata")
 14    ```
 15"""
 16
 17from typing import Any, Dict, Mapping, Type
 18
 19from botocore.client import BaseClient, ClientMeta
 20
 21from .type_defs import (
 22    GetLatestConfigurationResponseTypeDef,
 23    StartConfigurationSessionResponseTypeDef,
 24)
 25
 26__all__ = ("AppConfigDataClient",)
 27
 28
 29class BotocoreClientError(Exception):
 30    MSG_TEMPLATE: str
 31
 32    def __init__(self, error_response: Mapping[str, Any], operation_name: str) -> None:
 33        self.response: Dict[str, Any]
 34        self.operation_name: str
 35
 36
 37class Exceptions:
 38    BadRequestException: Type[BotocoreClientError]
 39    ClientError: Type[BotocoreClientError]
 40    InternalServerException: Type[BotocoreClientError]
 41    ResourceNotFoundException: Type[BotocoreClientError]
 42    ThrottlingException: Type[BotocoreClientError]
 43
 44
 45class AppConfigDataClient(BaseClient):
 46    """
 47    [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/appconfigdata.html#AppConfigData.Client)
 48    [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_appconfigdata/client/)
 49    """
 50
 51    meta: ClientMeta
 52
 53    @property
 54    def exceptions(self) -> Exceptions:
 55        """
 56        AppConfigDataClient exceptions.
 57
 58        [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/appconfigdata.html#AppConfigData.Client.exceptions)
 59        [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_appconfigdata/client/#exceptions)
 60        """
 61
 62    def can_paginate(self, operation_name: str) -> bool:
 63        """
 64        Check if an operation can be paginated.
 65
 66        [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/appconfigdata.html#AppConfigData.Client.can_paginate)
 67        [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_appconfigdata/client/#can_paginate)
 68        """
 69
 70    def close(self) -> None:
 71        """
 72        Closes underlying endpoint connections.
 73
 74        [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/appconfigdata.html#AppConfigData.Client.close)
 75        [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_appconfigdata/client/#close)
 76        """
 77
 78    def generate_presigned_url(
 79        self,
 80        ClientMethod: str,
 81        Params: Mapping[str, Any] = ...,
 82        ExpiresIn: int = 3600,
 83        HttpMethod: str = ...,
 84    ) -> str:
 85        """
 86        Generate a presigned url given a client, its method, and arguments.
 87
 88        [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/appconfigdata.html#AppConfigData.Client.generate_presigned_url)
 89        [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_appconfigdata/client/#generate_presigned_url)
 90        """
 91
 92    def get_latest_configuration(
 93        self, *, ConfigurationToken: str
 94    ) -> GetLatestConfigurationResponseTypeDef:
 95        """
 96        Retrieves the latest deployed configuration.
 97
 98        [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/appconfigdata.html#AppConfigData.Client.get_latest_configuration)
 99        [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_appconfigdata/client/#get_latest_configuration)
100        """
101
102    def start_configuration_session(
103        self,
104        *,
105        ApplicationIdentifier: str,
106        EnvironmentIdentifier: str,
107        ConfigurationProfileIdentifier: str,
108        RequiredMinimumPollIntervalInSeconds: int = ...
109    ) -> StartConfigurationSessionResponseTypeDef:
110        """
111        Starts a configuration session used to retrieve a deployed configuration.
112
113        [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/appconfigdata.html#AppConfigData.Client.start_configuration_session)
114        [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_appconfigdata/client/#start_configuration_session)
115        """
class AppConfigDataClient(botocore.client.BaseClient):
 46class AppConfigDataClient(BaseClient):
 47    """
 48    [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/appconfigdata.html#AppConfigData.Client)
 49    [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_appconfigdata/client/)
 50    """
 51
 52    meta: ClientMeta
 53
 54    @property
 55    def exceptions(self) -> Exceptions:
 56        """
 57        AppConfigDataClient exceptions.
 58
 59        [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/appconfigdata.html#AppConfigData.Client.exceptions)
 60        [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_appconfigdata/client/#exceptions)
 61        """
 62
 63    def can_paginate(self, operation_name: str) -> bool:
 64        """
 65        Check if an operation can be paginated.
 66
 67        [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/appconfigdata.html#AppConfigData.Client.can_paginate)
 68        [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_appconfigdata/client/#can_paginate)
 69        """
 70
 71    def close(self) -> None:
 72        """
 73        Closes underlying endpoint connections.
 74
 75        [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/appconfigdata.html#AppConfigData.Client.close)
 76        [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_appconfigdata/client/#close)
 77        """
 78
 79    def generate_presigned_url(
 80        self,
 81        ClientMethod: str,
 82        Params: Mapping[str, Any] = ...,
 83        ExpiresIn: int = 3600,
 84        HttpMethod: str = ...,
 85    ) -> str:
 86        """
 87        Generate a presigned url given a client, its method, and arguments.
 88
 89        [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/appconfigdata.html#AppConfigData.Client.generate_presigned_url)
 90        [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_appconfigdata/client/#generate_presigned_url)
 91        """
 92
 93    def get_latest_configuration(
 94        self, *, ConfigurationToken: str
 95    ) -> GetLatestConfigurationResponseTypeDef:
 96        """
 97        Retrieves the latest deployed configuration.
 98
 99        [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/appconfigdata.html#AppConfigData.Client.get_latest_configuration)
100        [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_appconfigdata/client/#get_latest_configuration)
101        """
102
103    def start_configuration_session(
104        self,
105        *,
106        ApplicationIdentifier: str,
107        EnvironmentIdentifier: str,
108        ConfigurationProfileIdentifier: str,
109        RequiredMinimumPollIntervalInSeconds: int = ...
110    ) -> StartConfigurationSessionResponseTypeDef:
111        """
112        Starts a configuration session used to retrieve a deployed configuration.
113
114        [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/appconfigdata.html#AppConfigData.Client.start_configuration_session)
115        [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_appconfigdata/client/#start_configuration_session)
116        """
meta: botocore.client.ClientMeta
exceptions: mypy_boto3_appconfigdata.client.Exceptions
54    @property
55    def exceptions(self) -> Exceptions:
56        """
57        AppConfigDataClient exceptions.
58
59        [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/appconfigdata.html#AppConfigData.Client.exceptions)
60        [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_appconfigdata/client/#exceptions)
61        """
def can_paginate(self, operation_name: str) -> bool:
63    def can_paginate(self, operation_name: str) -> bool:
64        """
65        Check if an operation can be paginated.
66
67        [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/appconfigdata.html#AppConfigData.Client.can_paginate)
68        [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_appconfigdata/client/#can_paginate)
69        """

Check if an operation can be paginated.

Show boto3 documentation Show boto3-stubs documentation

def close(self) -> None:
71    def close(self) -> None:
72        """
73        Closes underlying endpoint connections.
74
75        [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/appconfigdata.html#AppConfigData.Client.close)
76        [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_appconfigdata/client/#close)
77        """

Closes underlying endpoint connections.

Show boto3 documentation Show boto3-stubs documentation

def generate_presigned_url( self, ClientMethod: str, Params: Mapping[str, Any] = Ellipsis, ExpiresIn: int = 3600, HttpMethod: str = Ellipsis) -> str:
79    def generate_presigned_url(
80        self,
81        ClientMethod: str,
82        Params: Mapping[str, Any] = ...,
83        ExpiresIn: int = 3600,
84        HttpMethod: str = ...,
85    ) -> str:
86        """
87        Generate a presigned url given a client, its method, and arguments.
88
89        [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/appconfigdata.html#AppConfigData.Client.generate_presigned_url)
90        [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_appconfigdata/client/#generate_presigned_url)
91        """

Generate a presigned url given a client, its method, and arguments.

Show boto3 documentation Show boto3-stubs documentation

def get_latest_configuration( self, *, ConfigurationToken: str) -> mypy_boto3_appconfigdata.type_defs.GetLatestConfigurationResponseTypeDef:
 93    def get_latest_configuration(
 94        self, *, ConfigurationToken: str
 95    ) -> GetLatestConfigurationResponseTypeDef:
 96        """
 97        Retrieves the latest deployed configuration.
 98
 99        [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/appconfigdata.html#AppConfigData.Client.get_latest_configuration)
100        [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_appconfigdata/client/#get_latest_configuration)
101        """

Retrieves the latest deployed configuration.

Show boto3 documentation Show boto3-stubs documentation

def start_configuration_session( self, *, ApplicationIdentifier: str, EnvironmentIdentifier: str, ConfigurationProfileIdentifier: str, RequiredMinimumPollIntervalInSeconds: int = Ellipsis) -> mypy_boto3_appconfigdata.type_defs.StartConfigurationSessionResponseTypeDef:
103    def start_configuration_session(
104        self,
105        *,
106        ApplicationIdentifier: str,
107        EnvironmentIdentifier: str,
108        ConfigurationProfileIdentifier: str,
109        RequiredMinimumPollIntervalInSeconds: int = ...
110    ) -> StartConfigurationSessionResponseTypeDef:
111        """
112        Starts a configuration session used to retrieve a deployed configuration.
113
114        [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/appconfigdata.html#AppConfigData.Client.start_configuration_session)
115        [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_appconfigdata/client/#start_configuration_session)
116        """

Starts a configuration session used to retrieve a deployed configuration.

Show boto3 documentation Show boto3-stubs documentation

Inherited Members
botocore.client.BaseClient
BaseClient
get_paginator
get_waiter
waiter_names