AWSResourceMapping request interface.
More...
#include <AWSResourceMappingBus.h>
Inherits AZ::EBusTraits.
|
using | MutexType = AZStd::recursive_mutex |
|
|
static const AZ::EBusHandlerPolicy | HandlerPolicy = AZ::EBusHandlerPolicy::Single |
|
static const AZ::EBusAddressPolicy | AddressPolicy = AZ::EBusAddressPolicy::Single |
|
AWSResourceMapping request interface.
◆ GetDefaultAccountId()
virtual AZStd::string AWSCore::AWSResourceMappingRequests::GetDefaultAccountId |
( |
| ) |
const |
|
pure virtual |
GetDefaultAccountId Get default account id which is shared among resources
- Returns
- Default account id in string
◆ GetDefaultRegion()
virtual AZStd::string AWSCore::AWSResourceMappingRequests::GetDefaultRegion |
( |
| ) |
const |
|
pure virtual |
GetDefaultRegion Get default region which is shared among resources
- Returns
- Default region in string
◆ GetResourceAccountId()
virtual AZStd::string AWSCore::AWSResourceMappingRequests::GetResourceAccountId |
( |
const AZStd::string & |
resourceKeyName | ) |
const |
|
pure virtual |
GetResourceAccountId Get individual resource account id by using its mapping key name. If resource account id is not present in resource attributes, will use default account id instead
- Parameters
-
resourceKeyName | Resource mapping key name is used to identify individual resource attributes |
- Returns
- Resource account id in string
◆ GetResourceNameId()
virtual AZStd::string AWSCore::AWSResourceMappingRequests::GetResourceNameId |
( |
const AZStd::string & |
resourceKeyName | ) |
const |
|
pure virtual |
GetResourceNameId Get individual resource name/id by using its mapping key name
- Parameters
-
resourceKeyName | Resource mapping key name is used to identify individual resource attributes |
- Returns
- Resource name/id in string
◆ GetResourceRegion()
virtual AZStd::string AWSCore::AWSResourceMappingRequests::GetResourceRegion |
( |
const AZStd::string & |
resourceKeyName | ) |
const |
|
pure virtual |
GetResourceRegion Get individual resource region by using its mapping key name. If resource region is not present in resource attributes, will use default region instead
- Parameters
-
resourceKeyName | Resource mapping key name is used to identify individual resource attributes |
- Returns
- Resource region in string
◆ GetResourceType()
virtual AZStd::string AWSCore::AWSResourceMappingRequests::GetResourceType |
( |
const AZStd::string & |
resourceKeyName | ) |
const |
|
pure virtual |
GetResourceType Get individual resource type by using its mapping key name
- Parameters
-
resourceKeyName | Resource mapping key name is used to identify individual resource attributes |
- Returns
- Resource type in string
◆ GetServiceUrlByRESTApiIdAndStage()
virtual AZStd::string AWSCore::AWSResourceMappingRequests::GetServiceUrlByRESTApiIdAndStage |
( |
const AZStd::string & |
restApiIdKeyName, |
|
|
const AZStd::string & |
restApiStageKeyName |
|
) |
| const |
|
pure virtual |
GetServiceUrl Returns the base url for a registered APIGateway service endpoint
- Parameters
-
restApiIdKeyName | The resource key name of APIGateway service REST Api id |
restApiStageKeyName | The resource key name of APIGateway service REST Api stage |
- Returns
- the service URL without a trailing / character
◆ GetServiceUrlByServiceName()
virtual AZStd::string AWSCore::AWSResourceMappingRequests::GetServiceUrlByServiceName |
( |
const AZStd::string & |
serviceName | ) |
const |
|
pure virtual |
GetServiceUrl Returns the base url for a registered APIGateway service endpoint
- Parameters
-
serviceName | The name of the Gem or mapping name that provides the services |
- Returns
- the service URL without a trailing / character
◆ HasResource()
virtual bool AWSCore::AWSResourceMappingRequests::HasResource |
( |
const AZStd::string & |
resourceKeyName | ) |
const |
|
pure virtual |
HasResource Check if an AWS resource is defined
- Parameters
-
resourceKeyName | Resource mapping key name is used to identify individual resource attributes |
- Returns
- True if the resource exists; otherwise false.
◆ ReloadConfigFile()
virtual void AWSCore::AWSResourceMappingRequests::ReloadConfigFile |
( |
bool |
isReloadingConfigFileName | ) |
|
|
pure virtual |
ReloadConfigFile Reload resource mapping config file without restarting application
- Parameters
-
isReloadingConfigFileName | Whether reload resource mapping config file name from AWS core configuration settings registry file |
The documentation for this class was generated from the following file:
- Gems/AWSCore/Code/Include/ResourceMapping/AWSResourceMappingBus.h