template.yaml [444:468]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
          MetricNamespace:
            !Sub
            - >-
              Lex/Activity/${BotId}/${BotLocaleId}
            - BotId:
                !If
                - ShouldDeploySampleBots
                - !Ref BankerBotLexBot
                - !Ref BotId
              BotLocaleId:
                !If
                - ShouldDeploySampleBots
                - Fn::Select:
                    - 0
                    - Fn::Split:
                        - ','
                        - !Join [",", !GetAtt BankerBotLexBot.botLocaleIds]
                - !Ref BotLocaleId
          Dimensions:
            BotVersion: >-
              $.bot.version
            BotAliasName: >-
              $.bot.aliasName
            Intent: >-
              $.sessionState.intent.name
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



template.yaml [535:559]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
          MetricNamespace:
            !Sub
            - >-
              Lex/Activity/${BotId}/${BotLocaleId}
            - BotId:
                !If
                - ShouldDeploySampleBots
                - !Ref BankerBotLexBot
                - !Ref BotId
              BotLocaleId:
                !If
                - ShouldDeploySampleBots
                - Fn::Select:
                    - 0
                    - Fn::Split:
                        - ','
                        - !Join [",", !GetAtt BankerBotLexBot.botLocaleIds]
                - !Ref BotLocaleId
          Dimensions:
            BotVersion: >-
              $.bot.version
            BotAliasName: >-
              $.bot.aliasName
            Intent: >-
              $.sessionState.intent.name
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



